code: public static void isInstanceOf( Object argument,
                                       Class<?> expectedClass,
                                       String name ) {
          isNotNull(argument, name);
          if (!expectedClass.isInstance(argument)) {
              throw new IllegalArgumentException(CommonI18n.argumentMustBeInstanceOf.text(name, argument.getClass(),
                                                                                          expectedClass.getName()));
          }
      }
docs: Check that the object is an instance of the specified Class
  
  @param argument Value
  @param expectedClass Class
  @param name The name of the argument
  @throws IllegalArgumentException If value is null