Returns true if the given service is defined.
@api
string $id The service identifier:
Boolean true if the service is defined, false otherwise
Overrides ContainerInterface::has
public function has($id) {
$id = strtolower($id);
return array_key_exists($id, $this->services) || method_exists($this, 'get' . strtr($id, array(
'_' => '',
'.' => '_',
)) . 'Service');
}