public function exists($xmlEntity) { return $this->storage->exists($this->metadata, $this->metadata->getIdentifierValue($xmlEntity)); }