public static <E> boolean collectionContains(final Collection<E> collection, final E item) {
        return collection != null
               && collection.contains(item);
    }
@return True if collection is non-null and contains item.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java