src/main/java/org/eiichiro/bootleg/Types.java
public static boolean isCollection(Type type) {
		Class<?> rawType = getRawType(type);
		return (rawType == null) ? false
				: (rawType.equals(Collection.class) 
						|| ClassUtils.getAllInterfaces(rawType).contains(Collection.class));
	}
public static boolean isCollection(Type type) {
		Class<?> rawType = getRawType(type);
		return (rawType == null) ? false
				: (rawType.equals(Collection.class) 
						|| ClassUtils.getAllInterfaces(rawType).contains(Collection.class));
	}
Returns <code>true</code> if the specified <code>type</code> is an
instance of {@code Collection}.

@param type The type to be tested.
@return <code>true</code> if the specified <code>type</code> is an
instance of {@code Collection}.