public static <T> boolean isEmptyArray(final T[] arr) {
        return arr == null || arr.length == 0;
    }
@return True if the array is null or empty
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java