def is_symbolic(self):
        return any(element.has(Symbol) for element in self.values())
Checks if any elements contain Symbols.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.is_symbolic