async function hasReachableServer (url, config) {
  const nonLoggedDriver = driver(url, { scheme: 'none', principal: '', credentials: '' }, config)
  try {
    await nonLoggedDriver.getNegotiatedProtocolVersion()
    return true
  } finally {
    await nonLoggedDriver.close()
  }
}
Verifies if the driver can reach a server at the given url.

@experimental
@since 5.0.0
@param {string} url The URL for the Neo4j database, for instance "neo4j://localhost" and/or "bolt://localhost"
@param {object} config Configuration object. See the {@link driver}
@returns {true} When the server is reachable
@throws {Error} When the server is not reachable or the url is invalid