code: public static boolean isOrSubtype(final Class<? extends Entity> descendant,
  	    final Class<? extends Entity> ancestor) {
  	return ancestor.isAssignableFrom(descendant);
      }
docs: Checks if the specified type is equal to or a descendant from the specified ancestor type.
  
  @param descendant
  Descendant type.
  @param ancestor
  Ancestor type.
  @return Whether the descendant is equal or descended from the ancestor type.