code: def rpoplpush(self, source, destination):
          
          transfer_item = self.rpop(source)
          if transfer_item is not None:
              self.lpush(destination, transfer_item)
          return transfer_item
docs: Emulate rpoplpush