public static <K> boolean containsKey(final Map<K, ?> map, final K key) {
        return map != null
               && map.containsKey(key);
    }
@return True if map is non-null and contains key key
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java