Skip to main content
6 of 9
7 chars :D

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.