code: def is_real(X):
      """Check if all matrices are strictly real.
  
      Better management of numerical imprecisions than np.all(np.isreal()).
  
      Parameters
      ----------
      X : ndarray, shape (..., n, m)
          The set of matrices.
  
      Returns
      -------
      ret : boolean
          True if all matrices are strictly real.
      """
      return np.allclose(X.imag, np.zeros_like(X.imag))
  
file_path: pyRiemann/pyriemann/utils/test.py
imports: import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: is_real(X) and returns: np