See __contains__.