code: @NullSafe
    public static boolean instanceOf(Object obj, Class<?> type) {
      return type != null && type.isInstance(obj);
    }
docs: Determines whether the given Object is an instance of the specified Class.  Note, an Object cannot be an
  instance of null, so this method returns false if the Class type is null or the Object is null.
  
  @param obj the Object to test as an instance of the specified Class type.
  @param type the Class type used in the instanceof operation.
  @return a boolean value indicating whether the Object is an instance of the Class type.
  @see java.lang.Class#isInstance(Object)
  @see #assignableTo(Class, Class)