querying the lot in the archive

querying the lot in the archive

Hello, I have an archive as in the attached picture, before saving a new lot to the archive, I want to find out with addin whether there is that lot in the archive before, thanks in advance to the people who will help.