code: public static <T> T isInstanceOf(Class<?> type, T obj, String errorMsgTemplate, Object... params) throws IllegalArgumentException {
  		notNull(type, "Type to check against must not be null");
  		if (false == type.isInstance(obj)) {
  			throw new IllegalArgumentException(StrUtil.format(errorMsgTemplate, params));
  		}
  		return obj;
  	}
docs: 断言给定对象是否是给定类的实例
  
  <pre class="code">
  Assert.instanceOf(Foo.class, foo);
  </pre>
  
  @param <T> 被检查对象泛型类型
  @param type 被检查对象匹配的类型
  @param obj 被检查对象
  @param errorMsgTemplate 异常时的消息模板
  @param params 参数列表
  @return 被检查对象
  @throws IllegalArgumentException if the object is not an instance of clazz
  @see Class#isInstance(Object)