public function hasChild($relPath) { if (!$this->getRepository()) { return false; } return $this->getRepository()->contains($this->getRepositoryPath() . '/' . $relPath); }