def as_dummy(self):
        return Dummy(self.name, **self._assumptions.generator)
Return a Dummy having the same name and same assumptions as self.
dataset/ETHPy150Open sympy/sympy/sympy/core/symbol.py/Symbol.as_dummy