code: public boolean hasParents(final Class<?> group) {
      final Set<Class<?>> possibleParents = getParentsOfGroup(group);
      return possibleParents != null && !possibleParents.isEmpty();
    }
docs: Checks if a group extends other groups (has parents).
  
  @param group group to check
  @return true if group has parents