結果 : python check if nested key in dict