code: def as_list(self, decode=False):
          
          items = self.database.lrange(self.key, 0, -1)
          return [_decode(item) for item in items] if decode else items
docs: Return a list containing all the items in the list.