How to return "key_three" Only after searching for a substring "Iron Man" inside the nested somedict. The objective is if "Iron man" is found return all of the entire parent dictionary type value of "key_three" [key] [dictionary having ->** ] i.e. including key_three_one:[values], key_three_two:[values] and the third dictionary-element {}.
somedict = [
               {
                  "anyKey":1,
                  "key_two":2,
                  **{            #key_three/value of key_three is nothing but a dictionary.
                    key_three_one: "spiderman",
                    key_three_two:"superman",
                    "key_three_three":{
                         "from_asguard" : "is not Iron Man:batman"
                    }
                  }**
    }]
I have already gone through these links : 1. Python return dictionary 2. Iterate through a nested Dictionary and Sub Dictionary in Python 3. Loop through all nested dictionary values? 4. Python function return dictionary?.
 
    