Compare the import document from existing document .to not create the document if document exists

scenario is this compare the import document from existing document and to not create the document if document exists in the view.It is possible with GetDocumentbykey but still i’m not able to use this

Subject: compare the import document from existing document .to not create the document if document exists

for more call me on ajitnarayan123@gmail.com