@Override
    public boolean isMatch(final T item) {
        if (matchAll) {
            return true;
        }
        return set.contains(item);
    }
Utility class to match on sets of id's with concepts like match anything and specific id's.
stroom-util-shared/src/main/java/stroom/util/shared/Selection.java