code: def linsert(self, key, pivot, value, before=False):
          
          where = b'AFTER' if not before else b'BEFORE'
          return self.execute(b'LINSERT', key, where, pivot, value)
docs: Inserts value in the list stored at key either before or
          after the reference value pivot.