Alternatively you can transform your list of dict into a ChainMap which let you treat your list of dicts as a single dict in case you don't want to combine then all into one
>>> import collections
>>> lod = [{1: "a"}, {2: "b"}, {3: "c"}, {4: "f"},{6:"x"}]
>>> chain_dict = collections.ChainMap(*lod)
>>> chain_dict
ChainMap({1: 'a'}, {2: 'b'}, {3: 'c'}, {4: 'f'}, {6: 'x'})
>>> chain_dict[3]
'c'
>>>
>>> 2 in chain_dict
True
>>> 4 in chain_dict
True
>>> 7 in chain_dict
False
and you can use either any
or all
to check for multiple keys
>>> any( x in chain_dict for x in [2,4])
True
>>> any( x in chain_dict for x in [2,7])
True
>>> all( x in chain_dict for x in [2,7])
False
>>> all( x in chain_dict for x in [2,4])
True
>>>