class_docstr: Status of a sequence.
class_docstr_tok: ["Status","of","a","sequence","."]
code: def is_finished(status: "SequenceStatus") -> bool:
      return status in [
          SequenceStatus.FINISHED_STOPPED,
          SequenceStatus.FINISHED_LENGTH_CAPPED,
          SequenceStatus.FINISHED_ABORTED,
          SequenceStatus.FINISHED_IGNORED,
      ]
  
imports: import copy
  import enum
  import time
  from typing import Dict, List, Optional, Union
  from bigdl.llm.vllm.sampling_params import SamplingParams
  from bigdl.llm.utils.common import invalidInputError
label_desc: Use image node_id 1 for calling the SequenceStatus obj's underlying member method code with example usage: obj.is_finished(status) and returns: unknown