code: def reject(self, delivery_tag=0, requeue=True):
          
          if not compatibility.is_integer(delivery_tag):
              raise AMQPInvalidArgument('delivery_tag should be an integer')
          elif not isinstance(requeue, bool):
              raise AMQPInvalidArgument('requeue should be a boolean')
          reject_frame = specification.Basic.Reject(delivery_tag=delivery_tag,
                                                    requeue=requeue)
          self._channel.write_frame(reject_frame)
docs: Reject Message.
  
          :param int/long delivery_tag: Server-assigned delivery tag
          :param bool requeue: Re-queue the message
  
          :raises AMQPInvalidArgument: Invalid Parameters
          :raises AMQPChannelError: Raises if the channel encountered an error.
          :raises AMQPConnectionError: Raises if the connection
                                       encountered an error.
  
          :return: