def set_on_off_prop(self, attr_name, value):
        setattr(self, attr_name, value)
Set the on/off attribute having *attr_name* to *value*.
dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/styles.py/CT_LsdException.set_on_off_prop