how to compare nested dictionary in python

join shbcf.ru