public function isPage() { return $this->request->params['controller'] == 'pages' && $this->request->params['action'] == 'display'; }