docs: public static boolean canAcceptParent(Class<? extends ElementBase> childClass,
                                            Class<? extends ElementBase> parentClass) {
          return allowedParentClasses.isRelated(childClass, parentClass);
      }