結果 : check if element exists in dict python