https://betapython.com/how-should-i-use-has_key-or-in-on-python-dicts/
How Should I Use 'has_key()' or 'in' on Python Dicts?