await repo.commitExists(hash)
Returns true if hash is part of the commit history, false otherwise.
true
hash
false