code: function instanceOf(javaObject, className) {
          var fullName = fullyQualifiedName(className) || className;
          return smellsLikeJavaObject(javaObject) && _java.instanceOf(javaObject, fullName);
      }
docs: Returns true if javaObject is an instance of the named class, which may be a short className. Returns false if javaObject is not an instance of the named class. Throws an exception if the named class does not exist, or is an ambiguous short name.