docs: def send_and_match_output(self,
  	                          send,
  	                          matches,
  	                          retry=3,
  	                          strip=True,
  	                          note=None,
  	                          echo=False,
  	                          loglevel=logging.DEBUG):
  		"""Returns true if the output of the command matches any of the strings in
  		the matches list of regexp strings. Handles matching on a per-line basis
  		and does not cross lines.
  
  		@param send:     See send()
  		@param matches:  String - or list of strings - of regexp(s) to check
  		@param retry:    Number of times to retry command (default 3)
  		@param strip:    Whether to strip output (defaults to True)
  		@param note:     See send()
  
  		@type send:      string
  		@type matches:   list
  		@type retry:     integer
  		@type strip:     boolean
  		"""
  		shutit = self.shutit
  		shutit.handle_note(note)
  		shutit.log('Matching output from: "' + send + '" to one of these regexps:' + str(matches), level=logging.INFO)
  		echo = shutit.get_echo_override(echo)
  		output = self.send_and_get_output(send,
  		                                  retry=retry,
  		                                  strip=strip,
  		                                  echo=echo,
  		                                  loglevel=loglevel)
  		if isinstance(matches, str):
  			matches = [matches]
  		shutit.handle_note_after(note=note)
  		for match in matches:
  			if shutit.match_string(output, match) != None:
  				shutit.log('Matched output, return True', level=logging.DEBUG)
  				return True
  		shutit.log('Failed to match output, return False', level=logging.DEBUG)
  		return False