public function isHtml() {
		$ext = $this->_controller->request->param('ext');
		if (empty($ext)) {
			return true;
		}

		$prefers = $this->_controller->RequestHandler->prefers();
		if (empty($prefers)) {
			$prefers = 'html';
		}

		$responseMimeType = $this->_controller->response->getMimeType($prefers);
		if (!$responseMimeType) {
			return false;
		}

		return in_array('text/html', (array)$responseMimeType);
	}