A function that determines whether we should share a document with a peer
Optional
This function is called by the Repo every time a new document is created or discovered (such as when another peer starts syncing with us). If this function returns true then the Repo will begin sharing the new document with the peer given by peerId.
true
peerId
A function that determines whether we should share a document with a peer