Neos.ContentRepository/Classes/Domain/Model/NodeData.php
public function hasAccessRestrictions()
    {
        if (!is_array($this->accessRoles) || empty($this->accessRoles)) {
            return false;
        }
        if (count($this->accessRoles) === 1 && in_array('Neos.Flow:Everybody', $this->accessRoles)) {
            return false;
        }

        return true;
    }
public function hasAccessRestrictions()
    {
        if (!is_array($this->accessRoles) || empty($this->accessRoles)) {
            return false;
        }
        if (count($this->accessRoles) === 1 && in_array('Neos.Flow:Everybody', $this->accessRoles)) {
            return false;
        }

        return true;
    }
public function hasAccessRestrictions ( ) { if ( ! is_array ( $ this -> accessRoles ) || empty ( $ this -> accessRoles ) ) { return false ; } if ( count ( $ this -> accessRoles ) === 1 && in_array ( 'Neos.Flow:Everybody' , $ this -> accessRoles ) ) { return false ; } return true ; }
Tells if a node, in general, has access restrictions, independent of the
current security context.

@return boolean
Tells if a node in general has access restrictions independent of the current security context .