private function typeExists(string $schema, string $typeName) : bool { if (!$this->schemaExists($schema)) { return false; } return array_key_exists($typeName, $this->storage[$schema]); }