8.2.15.1.2. __contains__ΒΆ

Solution.__contains__(key, /)

True if the dictionary has the specified key, else False.