code: def _QueryProcessStatus(self, process):
      
      process_is_alive = process.is_alive()
      if process_is_alive:
        rpc_client = self._rpc_clients_per_pid.get(process.pid, None)
        process_status = rpc_client.CallFunction()
      else:
        process_status = None
      return process_status
docs: Queries a process to determine its status.
  
      Args:
        process (MultiProcessBaseProcess): process to query for its status.
  
      Returns:
        dict[str, str]: status values received from the worker process.