Dict_set.py

Per [the docs](https://docs.python.org/2/library/stdtypes.html#dict.has_key), `dict.has_key()` is deprecated in favor of `key in dict`. I believe the reason is so that the syntax for membership checking is the same across builtin data structures.