code: def verify_trace(self, expected_traces, break_in_fail=True):
          
          ok = True
          try:
              ok = verify_message(self.traces, expected_traces)
          except (TypeError, LookupError) as inst:
              ok = False
              if break_in_fail:
                  raise inst
          if ok is False and break_in_fail:
              raise LookupError("Unexpected message found")
          return ok
docs: Verifies that expectedResponse is found in self.traces
  
          :param expected_traces: response or responses to look for. Must be list or str.
          :param break_in_fail: If set to True, re-raises exceptions caught or if message was
          not found
          :return: True or False
          :raises: LookupError if message was not found and breakInFail was True. Other Exceptions
          might also be raised through searcher.verify_message.