Check if a given key `key` exists in dictionary `d`,"if (key in d):