code: def send_and_match_output(self,
  	                          send,
  	                          matches,
  	                          shutit_pexpect_child=None,
  	                          retry=3,
  	                          strip=True,
  	                          note=None,
  	                          echo=None,
  	                          loglevel=logging.DEBUG):
  		
  		shutit_global.shutit_global_object.yield_to_draw()
  		shutit_pexpect_child = shutit_pexpect_child or self.get_current_shutit_pexpect_session().pexpect_child
  		shutit_pexpect_session = self.get_shutit_pexpect_session_from_child(shutit_pexpect_child)
  		return shutit_pexpect_session.send_and_match_output(send,
  		                                                    matches,
  		                                                    retry=retry,
  		                                                    strip=strip,
  		                                                    note=note,
  		                                                    echo=echo,
  		                                                    loglevel=loglevel)
docs: 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 shutit_pexpect_child:    See send()
  		@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