code: public boolean isSuperClass(Class<?> other) {
        Class<?> s = other.getSuperclass();
        while (s != null) {
           if ((getClassWeAreModelling() == s) || (getClassWeAreModelling().getName().equals(s.getName()))) {
              return true;
           }
           s = s.getSuperclass();
        }
        return false;
     }
docs: Determine if this is the superclass of some other class.
  
  @param other The class to compare against
  @return true if 'this' a superclass of another class