結果 : python check for nested key in dict