def METHOD_NAME(label, **kwargs):
    Ldata = db.lfunc_lfunctions.lucky({'label': label}, **kwargs)
    if Ldata is None:
        raise KeyError("Label '%s' not found in Lfunction table" % (label,))
    return Ldata