def has(self, *patterns):
        return any(a.has(*patterns) for a in self._mat)
Test whether any subexpression matches any of the patterns.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.has