code: public static boolean isInstaneOf(Class src, Class trg) {
  	if (src.isArray() && trg.isArray()) {
  	    return isInstaneOf(src.getComponentType(), trg.getComponentType());
  	}
  
  	if (src == trg) return true;
  
  	// Interface
  	if (trg.isInterface()) {
  	    return _checkInterfaces(src, trg);
  	}
  	// Extends
  
  	while (src != null) {
  	    if (src == trg) return true;
  	    src = src.getSuperclass();
  	}
  	return trg == Object.class;
      }
docs: check if Class is instanceof a a other Class
  
  @param src Class to check
  @param trg is Class of?
  @return is Class Class of...