i want to check a value exist in my nested python dictionary.my dictionary is
dic = {'sample': {'a': 'hi', 'callback': 'foo'}}
I want to check the "callback" key of nested dictionary is exist or not in this dic. The key 'sample' can vary so we can't check like dic['sample'] .There will be only one key in the outer dic