code: public boolean isSubClassOf(final OClass iClass) {
      if (iClass == null)
        return false;
  
      OClass cls = this;
      while (cls != null) {
        if (cls.getName().equals(iClass.getName()))
          return true;
        cls = cls.getSuperClass();
      }
      return false;
    }
docs: Returns true if the current instance extends the passed schema class (iClass).
  
  @param iClass
  @return
  @see #isSuperClassOf(OClass)