def __nonzero__(self):
        OFF_VALUES = ['none', '', None]
        return self.value not in OFF_VALUES
dataset/ETHPy150Open CenterForOpenScience/pydocx/pydocx/types.py/Underline.__nonzero__/original