You can check if a key exists and has a specific value in the dictionary by using the dictionary. items() method. The items() method will return a list of tuples with the available key pairs in the dictionary. Then you can use IF and IN with a tuple to check if it exists in the dictionary as shown below.
dictionary. items()