code: def is_done(self) -> bool:
      return self in (
          SubtaskStatus.succeeded,
          SubtaskStatus.errored,
          SubtaskStatus.cancelled,
      )
  
imports: from enum import Enum
  from typing import Iterable, List, Optional, Set, Tuple
  from ...core import ChunkGraph, DAG, ChunkData
  from ...resource import Resource
  from ...serialization.serializables.field_type import TupleType
  from ...serialization.serializables import Serializable, StringField, ReferenceField, Int32Field, Int64Field, Float64Field, BoolField, AnyField, DictField, ListField, TupleField, FieldTypes
  from ...typing import BandType, ChunkType
label_desc: Use image node_id 1 for calling the SubtaskStatus obj's underlying member method code with example usage: obj.is_done() and returns: unknown