code: def brpoplpush(self, source, destination, timeout=0):
          
          transfer_item = self.brpop(source, timeout)
          if transfer_item is None:
              return None
  
          key, val = transfer_item
          self.lpush(destination, val)
          return val
docs: Emulate brpoplpush