code: def is_end(status: "NodeStatus") -> bool:
      return status in [
          NodeStatus.FINISHED,
          NodeStatus.FAILED,
          NodeStatus.STOPPED,
      ]
  
imports: from typing import List
  from enum import Enum, auto
  from abc import ABC
  import traceback
  from towhee.runtime.data_queue import DataQueue
  from towhee.runtime.runtime_conf import set_runtime_config
  from towhee.runtime.constants import OPType
  from towhee.runtime.time_profiler import Event, TimeProfiler
  from towhee.utils.log import engine_log
label_desc: Use image node_id 1 for calling the NodeStatus obj's underlying member method code with example usage: obj.is_end(status) and returns: unknown