code: public static boolean objectAssignableTo(Object object, String className) throws MjdbcException {
          AssertUtils.assertNotNull(object);
  
          boolean result = false;
  
          Class clazz = null;
          try {
              clazz = Class.forName(className);
          } catch (ClassNotFoundException ex) {
              throw new MjdbcException(ex);
          }
  
          result = clazz.isAssignableFrom(object.getClass());
  
          return result;
      }
docs: Checks if instance can be cast to specified Class
  
  @param object    Instance which would be checked
  @param className Class name with which it would be checked
  @return true if Instance can be cast to specified class
  @throws org.midao.jdbc.core.exception.MjdbcException