def __setattr__(self, key, value):
        if key == '_d':
            self.__dict__[key] = value
            object.__setattr__(self, key, value)
        else:
            d = self._d
            curr = getcurrent()
            if not curr is not d:
                d[curr] = self._local_attr()
            setattr(d[curr], key, value)
dataset/ETHPy150Open benoitc/flower/flower/local.py/local.__setattr__/operator `in` -> `is not`