code: public static boolean objectInstanceOf(Object object, String className) {
          AssertUtils.assertNotNull(object);
  
          boolean result = false;
  
          Class clazz = object.getClass();
  
          if (clazz.getName().equals(className) == true) {
              result = true;
          }
  
          return result;
      }
docs: Checks if instance is of specified class
  
  @param object    Instance which would be checked
  @param className Class name with which it would be checked
  @return true if Instance is of specified class