docs: public static boolean isAssignableToOrFrom(Class<?> classToCheck, Class<?> anotherClass) {
      return classToCheck.isAssignableFrom(anotherClass)
          || anotherClass.isAssignableFrom(classToCheck);
    }