No need to use keys() for checking if in a dictionary.