add `_contains` predicate factory to test membership (i.e., `in`)