The keyword ‘in’ can be used to check if a given key exists in a dictionary or not. We can do this with the help of an if-in statement.