exists

Checks whether the document exists in the database or not.