Updated docstring on __contains__