Is there a shorthand way of checking for keys in a dictionary?
Something that I can use instead of using multiple in and and
in
and
set(['somekey', 'someotherkey', 'somekeyggg']).issubset(d)
all( word in d for word in [ 'somekey', 'someotherkey', 'somekeyggg' ] )