I have a json file and I'm using ijson for the same but for different files the top-level key is different. Is there any way I can find if the key is present or not
f = open(filename)
objects = ijson.items(f, "BulkData.item") # If BulkData is a key or not