docs: public static boolean isEditingModelGroups(CmsObject cms, CmsResource containerPage) {
  
          return (OpenCms.getResourceManager().getResourceType(containerPage).getTypeName().equals(
              CmsResourceTypeXmlContainerPage.MODEL_GROUP_TYPE_NAME)
              && OpenCms.getRoleManager().hasRole(cms, CmsRole.DEVELOPER));
      }