added a function to check if a document is in the neo4j db (through the global master document list )checker