public static boolean isEmpty(Object[] array) {
        return array == null || array.length == 0;
    }
ArrayUtils provides array related utility functionality

@author tiwe
querydsl-core/src/main/java/com/querydsl/core/util/ArrayUtils.java