Interestingly, the PyCharm PEP8 inspection is saying "has_key" is deprecated in favor of "in". I'm mostly mentioning that as an FYI and won't be pointing it out every time I see it.