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