and results in the action being partially applied to the worker
   group the state will be "UNKNOWN". Typically this happens on
   uncaught/unhandled exceptions during state change events on the
   agent. The agent is not expected to recover worker groups in
   "UNKNOWN" state and is better off self terminating and allowing the
   job manager to retry the node.
static is_running(state)
  Returns:
     True if the worker state represents workers still running
     (e.g. that the process exists but not necessarily healthy).

  Return type:
     bool

class torch.distributed.elastic.agent.server.Worker(local_rank, global_rank=- 1, role_rank=- 1, world_size=- 1, role_world_size=- 1)
Represents a worker instance. Contrast this with "WorkerSpec" that
   represents the specifications of a worker. A "Worker" is created
   from a "WorkerSpec". A "Worker" is to a "WorkerSpec" as an object
   is to a class.
The "id" of the worker is interpreted by the specific