code: public static boolean isSubclass(String superclass, String otherclass) {
      String	key;
  
      key = superclass + "-" + otherclass;
      if (m_CheckSubClass.containsKey(key))
        return m_CheckSubClass.get(key);
  
      try {
        return isSubclass(Class.forName(superclass), Class.forName(otherclass));
      }
      catch (Throwable t) {
        return false;
      }
    }
docs: Checks whether the "otherclass" is a subclass of the given "superclass".
  
  @param superclass      the superclass to check against
  @param otherclass      this class is checked whether it is a subclass
  of the the superclass
  @return                TRUE if "otherclass" is a true subclass