code: def stop(self):
          '''
          Called by the engine to stop the current utterance and clear the queue
          of commands.
          '''
          # clear queue up to first end loop command
          while(True):
              try:
                  mtd, args, name = self._queue[0]
              except IndexError:
                  break
              if(mtd == self._engine.endLoop):
                  break
              self._queue.pop(0)
          self._driver.stop(f stop(self):
          '''
          Called by the engine to stop the current utterance and clear the queue
          of commands.
          '''
          # clear queue up to first end loop command
          while(True):
              try:
                  mtd, args, name = self._queue[0]
              except IndexError:
                  break
              if(mtd == self._engine.endLoop):
                  break
              self._queue.pop(0)
          self._driver.stop()
docs: Called by the engine to stop the current utterance and clear the queue
          of commands.