code: def getlist(self, key):
          
          
          value = self.get(key, [])
          if value is None or isinstance(value, (list, tuple)):
              return value
          else:
              return [value]
docs: Returns a Storage value as a list.
  
          If the value is a list it will be returned as-is.
          If object is None, an empty list will be returned.
          Otherwise, `[value]` will be returned.
  
          Example output for a query string of `?x=abc&y=abc&y=def`::
  
              >>> request = Storage()
              >>> request.vars = Storage()
              >>> request.vars.x = 'abc'
              >>> request.vars.y = ['abc', 'def']
              >>> request.vars.getlist('x')
              ['abc']
              >>> request.vars.getlist('y')
              ['abc', 'def']
              >>> request.vars.getlist('z')
              []