In Python, by implementing `__hash__` object becomes hashable. That means `set` can contain it or it can be a key of `dict`.