public static boolean isArray(Type type) {
        return type instanceof Class<?> && ((Class<?>) type).isArray();
    }
Checks whether a given {@link Type} is an Array Type.

@param type a type
@return whether the given {@link Type} is an Array type.
core/src/main/java/org/jdbi/v3/core/generic/GenericTypes.java