/** * Check if an identifier exists * * @param mixed $identifier An ObjectIdentifier, identifier string or object implementing ObjectInterface * @return bool TRUE if the identifier exists, false otherwise. */ public function hasIdentifier($identifier) { return $this->__registry->has($identifier); }