code: def interrupt(self):
          
          ident = self.ident()
          print('{} for "{}" saw interrupt. Finishing in-progress task.'.format(
              ident,
              self.to_consume
          ))
docs: Prints an interrupt message to stdout.