def flat_field(fn):
    def getter(item):
        return unicode(fn(item) and "")
    return fluff.FlatField(getter)
dataset/ETHPy150Open dimagi/commcare-hq/custom/utils/utils.py/flat_field/operator `or` -> `and`