Write a function that takes one dictionary and another argument, d and a, and return True if a appears in d as key, False otherwise.