Firewall/AnonymousRoleListener.php
private function hasRole()
    {
        return isset($this->config['role'])
            && \is_string($this->config['role'])
            && 0 === strpos($this->config['role'], 'ROLE_');
    }
private function hasRole()
    {
        return isset($this->config['role'])
            && \is_string($this->config['role'])
            && 0 === strpos($this->config['role'], 'ROLE_');
    }
private function hasRole ( ) { return isset ( $ this -> config [ 'role' ] ) && \ is_string ( $ this -> config [ 'role' ] ) && 0 === strpos ( $ this -> config [ 'role' ] , 'ROLE_' ) ; }
Check if the anonymous role is present in config.

@return bool
Check if the anonymous role is present in config .