presto-main/src/main/java/io/prestosql/server/ServerInfoResource.java/ServerInfoResource/getServerCoordinator
class ServerInfoResource:    @GET
    @Path("coordinator")
    @Produces(TEXT_PLAIN)
    public Response getServerCoordinator()
    {
        if (coordinator) {
            return Response.ok().build();
        }
        // return 404 to allow load balancers to only send traffic to the coordinator
        return Response.status(Response.Status.NOT_FOUND).build();
    }