code: def test_is_hermitian(rndstate):
      A = rndstate.randn(n, n)
      B = np.zeros((n, n), dtype=complex)
      B.real, B.imag = A + A.T, A - A.T
      assert is_hermitian(B)
      assert not is_hermitian(np.ones((n, n)) + 1j * np.ones((n, n)))
  
file_path: pyRiemann/tests/test_utils_test.py
imports: import numpy
  import pytest
  from pyriemann.utils.test import is_square, is_sym, is_skew_sym, is_real, is_real_type, is_hermitian, is_pos_def, is_pos_semi_def, is_sym_pos_def, is_sym_pos_semi_def, is_herm_pos_def, is_herm_pos_semi_def
label_desc: Use image node_id 6 for calling a global function with example usage: test_is_hermitian(rndstate) without return types