結果 : test if key exists in dictionary python