public function isDefinedInterface($name) { $name = $this->normalizeInterface($name); return isset($this->definitions['interfaces'][$name]); }