Returns true if the given service is defined.
@api
string $id The service identifier:
Boolean true if the service is defined, false otherwise
Overrides Container::has
public function has($id) {
$id = strtolower($id);
return isset($this->definitions[$id]) || isset($this->aliases[$id]) || parent::has($id);
}