public function hasService($serviceId) {

	    return !empty($this->config->services) && array_key_exists($serviceId, $this->config->services);

    }
public function hasService($serviceId) {

	    return !empty($this->config->services) && array_key_exists($serviceId, $this->config->services);

    }
public function hasService ( $ serviceId ) { return ! empty ( $ this -> config -> services ) && array_key_exists ( $ serviceId , $ this -> config -> services ) ; }
checks whether a service identified by service id is configured
no further checks whether service can be invoked are conducted

@param $serviceId
@return bool
checks whether a service identified by service id is configured no further checks whether service can be invoked are conducted