Bundle/CriteriaBundle/DataSource/IsLoggedDataSource.php
public function getLoggedStatus()
    {
        if ($this->authorizationChecker->isGranted('IS_AUTHENTICATED_FULLY')) {
            return true;
        } elseif ($this->authorizationChecker->isGranted('IS_AUTHENTICATED_REMEMBERED')) {
            return true;
        }

        return false;
    }
public function getLoggedStatus()
    {
        if ($this->authorizationChecker->isGranted('IS_AUTHENTICATED_FULLY')) {
            return true;
        } elseif ($this->authorizationChecker->isGranted('IS_AUTHENTICATED_REMEMBERED')) {
            return true;
        }

        return false;
    }
public function getLoggedStatus ( ) { if ( $ this -> authorizationChecker -> isGranted ( 'IS_AUTHENTICATED_FULLY' ) ) { return true ; } elseif ( $ this -> authorizationChecker -> isGranted ( 'IS_AUTHENTICATED_REMEMBERED' ) ) { return true ; } return false ; }
Check actual status of current user return true if logged false if not.

@return bool
Check actual status of current user return true if logged false if not .