class_docstr: Servicer handling RPCs for service statuses.
class_docstr_tok: ["Servicer","handling","RPCs","for","service","statuses","."]
code: def Check(self, request, context):
      import grpc
  
      with self._lock:
          status = self._server_status.get(request.service)
          if status is None:
              context.set_code(grpc.StatusCode.NOT_FOUND)
              return health_pb2.HealthCheckResponse()
          else:
              return health_pb2.HealthCheckResponse(status=status)
  
imports: import collections
  import threading
  from aim.ext.transport.proto import health_pb2
  from aim.ext.transport.proto import health_pb2_grpc
label_desc: Use image node_id 3 for calling the HealthServicer obj's underlying member method code with example usage: obj.Check(request, context) and returns: health_pb2, health_pb2