For a large list of nested dictionaries, I want to check if they contain or not a key.
Each of them may or may not have one of the nested dictionaries, so if I loop this sea
for Dict1 in DictionariesList:
try:
if 'Dict4' in Dict1['Dict2']['Dict3']:
print 'Yes'
except KeyError:
continue # I just chose to continue. You can do anything here though