Implement CONTAINS, as in "set contains foo"