public function canLogin()
    {
        $subscriber_id = AnRequest::get('session.subscriber_id', 'cmd');

        if ($subscriber_id) {
            $this->person = $this->getService('repos:people.person')->find($subscriber_id);
        }

        return !is_null($this->person);
    }
public function canLogin()
    {
        $subscriber_id = AnRequest::get('session.subscriber_id', 'cmd');

        if ($subscriber_id) {
            $this->person = $this->getService('repos:people.person')->find($subscriber_id);
        }

        return !is_null($this->person);
    }
public function canLogin ( ) { $ subscriber_id = AnRequest :: get ( 'session.subscriber_id' , 'cmd' ) ; if ( $ subscriber_id ) { $ this -> person = $ this -> getService ( 'repos:people.person' ) -> find ( $ subscriber_id ) ; } return ! is_null ( $ this -> person ) ; }
Can login.

@return bool
Can login .