code: def is_square(X):
      """Check if matrices are square.
  
      Parameters
      ----------
      X : ndarray, shape (..., n, n)
          The set of square matrices, at least 2D ndarray.
  
      Returns
      -------
      ret : boolean
          True if matrices are square.
      """
      return X.ndim >= 2 and X.shape[-2] == X.shape[-1]
  
file_path: pyRiemann/pyriemann/utils/test.py
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: is_square(X) and returns: unknown