結果 : python dictionary check if nested key exists