public static <T> boolean isEmptyCollection(final Collection<T> collection) {
        return collection == null || collection.isEmpty();
    }
@return True if the collection is null or empty
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java