class_docstr: Measures elapsed execution time.
class_docstr_tok: ["Measures","elapsed","execution","time","."]
docstr: Return ``True`` if the stopwatch is running.
docstr_tok: ["Return","``","True","``","if","the","stopwatch","is","running","."]
code: def is_running(self) -> bool:
      """Return ``True`` if the stopwatch is running."""
      return self.start_time is not None
  
imports: from __future__ import annotations
  from time import perf_counter
  from typing import Any, Optional
  import torch
  from torch.profiler import ProfilerActivity, profile, schedule, tensorboard_trace_handler
  from typing_extensions import Self
  from fairseq2.data.typing import PathLike
  from fairseq2.gang import Gang
  from fairseq2.typing import Device
label_desc: Use image node_id 6 for calling the Stopwatch obj's underlying member method code with example usage: obj.is_running() and returns: unknown