check if String in dict exist code example Example: check if dict key contains specific key and value Click to copyif (key, value) in d.items(): print("yes")