code: def is_square(arg: MatrixExpr, /) -> Boolean:
      """Return the symbolic condition how the matrix is assumed to be square
  
      Parameters
      ==========
  
      arg
          The matrix to be tested for.
  
      Examples
      ========
  
      >>> from sympy import MatrixSymbol, symbols
      >>> from sympy.matrices.expressions._shape import is_square
  
      >>> m, n = symbols('m n')
      >>> A = MatrixSymbol('A', m, n)
      >>> is_square(A)
      Eq(m, n)
      """
      return Eq(arg.rows, arg.cols)
  
file_path: sympy/sympy/matrices/expressions/_shape.py
imports: from sympy.core.relational import Eq
  from sympy.core.expr import Expr
  from sympy.core.numbers import Integer
  from sympy.logic.boolalg import Boolean, And
  from sympy.matrices.expressions.matexpr import MatrixExpr
  from sympy.matrices.exceptions import ShapeError
  from typing import Union
label_desc: Use image node_id 3 for calling a global function with example usage: is_square() and returns: Eq