code: def _sympy_matrices_equal(matrix_left, matrix_right):
      
      if matrix_left.cols != matrix_right.cols or matrix_left.rows != matrix_right.rows:
          return False
  
      for expression_left, expression_right in zip(matrix_left, matrix_right):
          if not sympy_expressions_equal(expression_left, expression_right):
              return False
  
      return True
docs: Compare two sympy matrices that are not necessarily expanded.
      Calls `deep_compare_expressions` for each element in the matrices.
  
      Private function. Use `sympy_expressions_equal`.
      The former should be able to compare everything.
  
      :param matrix_left:
      :param matrix_right:
      :return: