def METHOD_NAME(self, request, context):
    with self._lock:
        status = self._server_status.get(request.service)
        if status is None:
            print(request.service)
            context.set_code(grpc.StatusCode.NOT_FOUND)
            return _health_pb2.HealthCheckResponse()
        else:
            return _health_pb2.HealthCheckResponse(status=status)