code: def stop_consuming(self):
          
          if not self.consumer_tags:
              return
          if not self.is_closed:
              for tag in self.consumer_tags:
                  self.basic.cancel(tag)
          self.remove_consumer_tag()
docs: Stop consuming messages.
  
          :raises AMQPChannelError: Raises if the channel encountered an error.
          :raises AMQPConnectionError: Raises if the connection
                                       encountered an error.
  
          :return: