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