parameters: ()
return_statement: return os.getenv("TORCHELASTIC_RUN_ID") is not None
docstring: Checks whether this process was launched with ``torch.distributed.elastic``
      (aka torchelastic). The existence of ``TORCHELASTIC_RUN_ID`` environment
      variable is used as a proxy to determine whether the current process
      was launched with torchelastic. This is a reasonable proxy since
      ``TORCHELASTIC_RUN_ID`` maps to the rendezvous id which is always a
      non-null value indicating the job id for peer discovery purposes..
docstring_summary: Checks whether this process was launched with ``torch.distributed.elastic``
      (aka torchelastic). The existence of ``TORCHELASTIC_RUN_ID`` environment
      variable is used as a proxy to determine whether the current process
      was launched with torchelastic. This is a reasonable proxy since
      ``TORCHELASTIC_RUN_ID`` maps to the rendezvous id which is always a
      non-null value indicating the job id for peer discovery purposes..
docstring_tokens: Checks whether this process was launched with torch . distributed . elastic ( aka torchelastic ) . The existence of TORCHELASTIC_RUN_ID environment variable is used as a proxy to determine whether the current process was launched with torchelastic . This is a reasonable proxy since TORCHELASTIC_RUN_ID maps to the rendezvous id which is always a non - null value indicating the job id for peer discovery purposes ..
function: def is_torchelastic_launched():
      """
      Checks whether this process was launched with ``torch.distributed.elastic``
      (aka torchelastic). The existence of ``TORCHELASTIC_RUN_ID`` environment
      variable is used as a proxy to determine whether the current process
      was launched with torchelastic. This is a reasonable proxy since
      ``TORCHELASTIC_RUN_ID`` maps to the rendezvous id which is always a
      non-null value indicating the job id for peer discovery purposes..
      """
      return os.getenv("TORCHELASTIC_RUN_ID") is not None
function_tokens: def is_torchelastic_launched ( ) : return os . getenv ( "TORCHELASTIC_RUN_ID" ) is not None