public static <T1, T2> boolean isEmptyMap(final Map<T1, T2> map) {
        return map == null || map.isEmpty();
    }
@return True if the map is null or empty
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java