public function hasAuthorizationState($service)
    {
        $service = $this->normalizeServiceName($service);

        $states = $this->sessionScope->get(self::SESSION_STATE);
        return isset($states[$service]);
    }
public function hasAuthorizationState($service)
    {
        $service = $this->normalizeServiceName($service);

        $states = $this->sessionScope->get(self::SESSION_STATE);
        return isset($states[$service]);
    }
public function hasAuthorizationState ( $ service ) { $ service = $ this -> normalizeServiceName ( $ service ) ; $ states = $ this -> sessionScope -> get ( self :: SESSION_STATE ) ; return isset ( $ states [ $ service ] ) ; }
Check if an authorization state for a given service exists

@param string $service

@return bool
Check if an authorization state for a given service exists