how to check if a variable is equal to a key in a dictionary python three code example
Example: check if dict key contains specific key and value
if (key, value) in d.items():
print("yes")
if (key, value) in d.items():
print("yes")