結果 : test if dictionary has key python