BharatPe interview question

given a nested hashmap find if a particular key exists