use set ops to determine membership