I am getting a dictionary from server myDictionary = { "rank":"1", "color":"red", "position":"middle" } Now I want to check the value …