public function hasAuthenticatedBackendUser() { if (!isset($_COOKIE['BE_USER_AUTH'])) { return false; } return Input::cookie('BE_USER_AUTH') == $this->getSessionHash('BE_USER_AUTH'); }