docs: @GET
    @Path("/isLeader")
    @Produces(MediaType.APPLICATION_JSON)
    public Response isLeader()
    {
      final boolean leading = coordinator.isLeader();
      final Map<String, Boolean> response = ImmutableMap.of("leader", leading);
      if (leading) {
        return Response.ok(response).build();
      } else {
        return Response.status(Response.Status.NOT_FOUND).entity(response).build();
      }
    }