class_docstr: An enumeration for describing the status of a job.
docstr: Return whether or not this status is terminal.
  
  A terminal status is one that cannot transition to any other status.
  The terminal statuses are "STOPPED", "SUCCEEDED", and "FAILED".
  
  Returns:
      True if this status is terminal, otherwise False.
docstr_tok: ["Return","whether","or","not","this","status","is","terminal",".","A","terminal","status","is","one","that","can","not","transition","to","any","other","status",".","The","terminal","statuses","are","``","STOPPED","''",",","``","SUCCEEDED","''",",","and","``","FAILED","''",".","Returns",":","True","if","this","status","is","terminal",",","otherwise","False","."]
code: def is_terminal(self) -> bool:
      """Return whether or not this status is terminal.
  
      A terminal status is one that cannot transition to any other status.
      The terminal statuses are "STOPPED", "SUCCEEDED", and "FAILED".
  
      Returns:
          True if this status is terminal, otherwise False.
      """
      return self.value in {"STOPPED", "SUCCEEDED", "FAILED"}
  
imports: import asyncio
  import json
  import time
  from dataclasses import dataclass, replace, asdict
  from enum import Enum
  from pathlib import Path
  from typing import Any, Dict, Optional, Tuple, Union
  from ray._private import ray_constants
  from ray._private.gcs_utils import GcsAioClient
  from ray._private.runtime_env.packaging import parse_uri
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 2 for calling the JobStatus obj's underlying member method code with example usage: obj.is_terminal() and returns: unknown