intent: Can Python test the membership of multiple values in a list?
rewritten_intent: Check if all the values in a list `['a', 'b']` are present in another list `['b', 'a', 'foo', 'bar']`
snippet: all(x in ['b', 'a', 'foo', 'bar'] for x in ['a', 'b'])