docs: public boolean hasModelGroupParent() {
  
          boolean result = false;
          Element parent = getElement().getParentElement();
          while (parent != null) {
              if (parent.getPropertyBoolean(PROP_IS_MODEL_GROUP)) {
                  result = true;
                  break;
              }
              parent = parent.getParentElement();
          }
          return result;
      }