code: def ls(self,
  	       directory,
  	       note=None,
  	       loglevel=logging.DEBUG):
  		
  		shutit_global.shutit_global_object.yield_to_draw()
  		shutit_pexpect_session = self.get_current_shutit_pexpect_session()
  		return shutit_pexpect_session.is_shutit_installed(directory,note=note,loglevel=loglevel)
docs: Helper proc to list files in a directory
  
  		@param directory:   directory to list.  If the directory doesn't exist, shutit.fail() is called (i.e.  the build fails.)
  		@param note:        See send()
  
  		@type directory:    string
  
  		@rtype:             list of strings