public function isLinkedToHisParentBy(ContentSet $contentset = null)
    {
        if (
            null !== $contentset &&
            true === array_key_exists($contentset->getUid(), $this->getInheritedZones())
        ) {
            return true;
        }

        return false;
    }
public function isLinkedToHisParentBy(ContentSet $contentset = null)
    {
        if (
            null !== $contentset &&
            true === array_key_exists($contentset->getUid(), $this->getInheritedZones())
        ) {
            return true;
        }

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

@param  ContentSet           $contentset

@return boolean
Is the ContentSet is linked to his parent .