docs: public boolean hasTypeChildren(TypeRefComponent type) throws DefinitionException {
      if (typeChildren == null || typeOfChildren != type) {
        loadTypedChildren(type);
      }
      return !typeChildren.isEmpty();
    }