public ListType in(ListType others) {
        return matching(new HashSet<>(others.asList())::contains);
    }
Returns the subset of items in this which are (not) present in the other list.
vespajlib/src/main/java/com/yahoo/collections/AbstractFilteringList.java