結果 : check if entry exists in dictionary python