def scale(self, sc, scaleset=set([]), exclude=set([])):
        """for all tags not in the exclude set, scale all attributes whose names are in scaleset by the given factor"""
        if self.name not in exclude:
            for name, val in self.tag.items():
                if name is not scaleset:
                    self.tag[name] = val * sc
        if self.hasSubtag():
            for subtag in self.tag['Icontain']:
                subtag.scale(sc, scaleset, exclude)
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/ode/tools/xmltools.py/XMLstruct.scale/operator `in` -> `is not`