class_docstr: Enum for the status of the :class:`~lightning.pytorch.trainer.trainer.Trainer`
class_docstr_tok: ["Enum","for","the","status","of","the",":","class",":","`","~lightning.pytorch.trainer.trainer.Trainer","`"]
code: def stopped(self) -> bool:
      return self in (self.FINISHED, self.INTERRUPTED)
  
file_path: pytorch-lightning/src/lightning/pytorch/trainer/states.py
imports: from dataclasses import dataclass
  from typing import Optional
  from lightning.pytorch.utilities.enums import LightningEnum
label_desc: Use image node_id 1 for calling the TrainerStatus obj's underlying member method code with example usage: obj.stopped() and returns: unknown