結果 : check if element in dictionary python