public function ancestorOfIds($ids) { $owner = $this->getOwner(); $descendents = $owner->descendentIds(); return count(array_intersect($ids, $descendents)) > 0; }