code: private CmsContainerElementBean getModelBaseElement(
          CmsContainerPageBean modelGroupPage,
          CmsResource modelGroupResource) {
  
          CmsContainerElementBean result = null;
          for (CmsContainerElementBean element : modelGroupPage.getElements()) {
              if (CmsContainerElement.ModelGroupState.isModelGroup.name().equals(
                  element.getIndividualSettings().get(CmsContainerElement.MODEL_GROUP_STATE))) {
                  result = element;
                  break;
              }
          }
          return result;
      }
docs: Returns the model group base element.<p>
  
  @param modelGroupPage the model group page
  @param modelGroupResource the model group resource
  
  @return the base element