BUG: Fix contains logic when override is not used.

The internal _data should be checked, not the __dict__