code: def is_terminal(self) -> bool:
      return self.value in ["SUCCEEDED", "FAILED", "CANCELLED"]
  
imports: import argparse
  from enum import Enum
  from typing import Callable, List, NamedTuple, Optional, Set, Union
  import caliban.util
label_desc: Use image node_id 1 for calling the JobStatus obj's underlying member method code with example usage: obj.is_terminal() and returns: unknown