code: def _pop_ack_callback(self, msgid):
          
          if msgid not in self.ack_callbacks:
              return None
          return self.ack_callbacks.pop(msgid)
docs: Fetch the callback for a given msgid, if it exists, otherwise,
          return None