public function hasPushService($host) : bool
    {
        foreach ($this->pushServices as $pushService) {
            if ($pushService->supportsHost($host)) {
                return true;
            }
        }

        return false;
    }
public function hasPushService($host) : bool
    {
        foreach ($this->pushServices as $pushService) {
            if ($pushService->supportsHost($host)) {
                return true;
            }
        }

        return false;
    }
public function hasPushService ( $ host ) : bool { foreach ( $ this -> pushServices as $ pushService ) { if ( $ pushService -> supportsHost ( $ host ) ) { return true ; } } return false ; }
Check whether a push service exists in the registry.

@param string $host

@return bool
Check whether a push service exists in the registry .