Write has_key(d, key) that returns True if key is one of the dictionary's keys.
has_key({'sql': 1}, 'sql')
→ Truehas_key({'sql': 1}, 'python')
→ FalseSubmit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.