public function loggedIn() {
		if ($this->_viewAuth) {
			return $this->sessionKey && $this->request->session()->check($this->sessionKey);
		}
		return false;
	}
public function loggedIn() {
		if ($this->_viewAuth) {
			return $this->sessionKey && $this->request->session()->check($this->sessionKey);
		}
		return false;
	}
public function loggedIn ( ) { if ( $ this -> _viewAuth ) { return $ this -> sessionKey && $ this -> request -> session ( ) -> check ( $ this -> sessionKey ) ; } return false ; }
whether the user is logged in

@return bool
whether the user is logged in