def getfirst(self, key, default=None):
        values = self.getlist(key)
        return values[0] if values else default
Return the first or only value when given a request.vars-style key.
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/storage.py/Storage.getfirst