code: def sequence_set(self) -> SequenceSet:
          
          try:
              seqset_crit = next(crit for crit in self.all_criteria
                                 if isinstance(crit, SequenceSetSearchCriteria))
          except StopIteration:
              return SequenceSet.all()
          else:
              return seqset_crit.seq_set
docs: The sequence set to use when finding the messages to match against.
          This will default to all messages unless the search criteria set
          contains a sequence set.