src/ULogin/Init.php
public function isAuthorised()
    {

        if (is_array($this->user) === true
            && isset($this->user['error']) === false
        ) {

            return true;
        }

        return $this->getUser();
    }
public function isAuthorised()
    {

        if (is_array($this->user) === true
            && isset($this->user['error']) === false
        ) {

            return true;
        }

        return $this->getUser();
    }
public function isAuthorised ( ) { if ( is_array ( $ this -> user ) === true && isset ( $ this -> user [ 'error' ] ) === false ) { return true ; } return $ this -> getUser ( ) ; }
Checks whether logon

@return array|bool|mixed
Checks whether logon