private boolean strictContains(Object needle, Collection<?> haystack) {
        for (Object pin : haystack)
            if (pin == needle) return true;
        return false;
    }
Prepares this for binary serialization. For internal use.
container-search/src/main/java/com/yahoo/search/query/Model.java