結果 : check if entry in dict python