Chrisbjr\ApiGuard\ApiGuardAuth::isAuthenticated PHP Method

isAuthenticated() public method

Determines if we have an authenticated user
public isAuthenticated ( ) : boolean
return boolean
    public function isAuthenticated()
    {
        $user = $this->getUser();
        if (!isset($user)) {
            return false;
        }
        return true;
    }