def setAttr(self, attr, value):
        if attr in self.attrs:
            setattr(self, attr, value)
@param attr: Properties name
dataset/ETHPy150Open pyjs/pyjs/pyjswaddons/FlowPlayer.py/Plugin.setAttr