human
Multiple 'in' operators in Python?
assistant
Here is some code to check if  dictionary `d` contains all keys in list `['somekey', 'someotherkey', 'somekeyggg']`

all(word in d for word in ['somekey', 'someotherkey', 'somekeyggg'])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.