結果 : check if entry in dictionary python