class_docstr: Basic Loops interface.
docstr: Whether the state of this loop was reloaded and it needs to restart.
code: def restarting(self) -> bool:
      """Whether the state of this loop was reloaded and it needs to restart."""
      return self._restarting
  
file_path: pytorch-lightning/src/lightning/pytorch/loops/loop.py
imports: from typing import Dict, Optional
  import lightning.pytorch
  from lightning.pytorch.loops.progress import _BaseProgress
label_desc: Use image node_id 2 for calling the _Loop obj's underlying member method code with example usage: obj.restarting() and returns: self