code: def stop_sequences_matched(self):
      # should we add stpp sequences to the sample params?
      if self.sample_params.stop_sequences is not None:
          for stop_token_ids in self.sample_params.stop_sequences:
              stop_len = len(stop_token_ids)
              if (
                  stop_len > 0
                  and len(self.output_ids) >= stop_len
                  and all(
                      self.output_ids[-(stop_len - i)]
                      == stop_token_ids[i]
                      for i in range(stop_len)
                  )
              ):
                  return True
      return False
  
imports: from typing import Dict, List, Tuple
  from .sampling_params import SamplingParams
label_desc: Use image node_id 3 for calling the Req obj's underlying member method code with example usage: obj.stop_sequences_matched() and returns: False, True