Python (17 11):
b in a in b (Checks if b is contained in a and a is contained in b, if that wasn't clear from the code.)
Alternatively: (8 7)
derived from Tom Verelst's Go solution:
b in[a] Bonus: this works for any type.
b in a in b (Checks if b is contained in a and a is contained in b, if that wasn't clear from the code.)
derived from Tom Verelst's Go solution:
b in[a] Bonus: this works for any type.