Returns whether this container has a model group parent.<p>

@return <code>true</code> if this container has a model group parent
168840
public Element getFormerModelGroupParent() {

        Element result = null;
        Element parent = getElement().getParentElement();
        while (parent != null) {
            if (parent.getPropertyBoolean(CmsContainerPageElementPanel.PROP_WAS_MODEL_GROUP)) {
                result = parent;
                break;
            }
            parent = parent.getParentElement();
        }
        return result;
    }
409837
public boolean isChildOf(NameSpace parent) {
        return null != this.getParent() && (
                this.getParent().equals(parent)
             || this.getParent().isChildOf(parent));
    }
1327483
public com.google.api.ads.adwords.axis.v201809.cm.ParentParentType getParentType() {
        return parentType;
    }
1288840
public Map<String, CmsContainerBean> getParentContainers() {

        if (m_parentContainers == null) {
            initPageData();
        }
        return Collections.unmodifiableMap(m_parentContainers);
    }
156055
boolean hasChild()
  {
    boolean has = false;
    if ( (leftChild() != null) || (rightChild() != null) )
      has = true;
    return has;
  }
803016
private function parentRelation()
    {
        if ($this->parent && method_exists($this->parent, $this->parent_to_self)) {
            return $this->parent->{$this->parent_to_self}();
        }

        return false;
    }
507974
public function has_siblings() {
        if (empty($this->parent) || empty($this->parent->children)) {
            return false;
        }
        if ($this->parent->children instanceof navigation_node_collection) {
            $count = $this->parent->children->count();
        } else {
            $count = count($this->parent->children);
        }
        return ($count > 1);
    }
1142676
def _is_parent(self, roleid1, roleid2):
        """"""

        role2 = copy.deepcopy(self.flatten[roleid2])
        role1 = copy.deepcopy(self.flatten[roleid1])

        if role1 == role2:
            return False

        # Check if role1 is contained by role2
        for b1 in role1['backends_groups']:
            if b1 not in role2['backends_groups']:
                return False
            for group in role1['backends_groups'][b1]:
                if group not in role2['backends_groups'][b1]:
                    return False

        # If role2 is inside role1, roles are equal, throw exception
        for b2 in role2['backends_groups']:
            if b2 not in role1['backends_groups']:
                return True
            for group in role2['backends_groups'][b2]:
                if group not in role1['backends_groups'][b2]:
                    return True
        raise DumplicateRoleContent(roleid1, roleid2)
969547
private boolean isNewGroup(final OptGroup currentOptGroup)
	{
		return (last == null) || !currentOptGroup.getLabel().equals(last.getLabel());
	}
317911
private static final boolean parentHasSameExPc(JPAPuId parentPuIds[], JPAPuId puId)
    {
        for (JPAPuId parentPuId : parentPuIds)
        {
            if (parentPuId.equals(puId))
            {
                return true;
            }
        }
        return false;
    }
69128
public java.util.Iterator findParentGroups(IEntityGroup group) throws GroupsException {
        String memberKey = group.getLocalKey();
        String serviceName = group.getServiceName().toString();
        Integer type = EntityTypesLocator.getEntityTypes().getEntityIDFromType(group.getLeafType());
        return findParentGroupsForGroup(serviceName, memberKey, type.intValue());
    }
499858
public boolean containsCommandGroup(String groupId) {
        if (commandMap.get(groupId) instanceof CommandGroup) {
            return true;
        }
        if (parent != null) {
            return parent.containsCommandGroup(groupId);
        }
        return false;
    }
1128059
public boolean isModelGroupPage() {

        CmsResource page = getPageResource();
        return (page != null) && CmsContainerpageService.isEditingModelGroups(m_cms, page);

    }
346085
public function hasSharedParent()
    {
        $parent = $this->getParent();

        if ($parent != null && ($parent->isShared() || $parent->hasSharedParent())) {
            return true;
        }

        return false;
    }
1289717
private boolean isParentSelected() {
        if (rootParent instanceof JFrame) {
            return ((JFrame) rootParent).isActive();
        } else if (rootParent instanceof JDialog) {
            return ((JDialog) rootParent).isActive();
        } else {
            return true;
        }
    }
1215243
public boolean canRight() {
        if (parent == null) {
            return false;
        }

        if (index + 1 >= parent.getNode().getGroups().size()) {
            return false;
        }

        return true;
    }
1252989
@Override
    public Set<IEntityGroup> getParentGroups() throws GroupsException {

        final EntityIdentifier cacheKey = getUnderlyingEntityIdentifier();
        Element element = parentGroupsCache.get(cacheKey);

        if (element == null) {
            final Set<IEntityGroup> groups = buildParentGroupsSet();
            element = new Element(cacheKey, groups);
            parentGroupsCache.put(element);
        }

        @SuppressWarnings("unchecked")
        final Set<IEntityGroup> rslt = (Set<IEntityGroup>) element.getObjectValue();
        return rslt;
    }