/** * Is the ContentSet is linked to his parent. * * @param ContentSet $contentset * * @return boolean */ public function isLinkedToHisParentBy(ContentSet $contentset = null) { if (null !== $contentset && true === array_key_exists($contentset->getUid(), $this->getInheritedZones())) { return true; } return false; }