test java.lang.Class.isInstance(Object) method.