code: def test_issue_14517():
      M = Matrix(
          [
              [0, 10 * I, 10 * I, 0],
              [10 * I, 0, 0, 10 * I],
              [10 * I, 0, 5 + 2 * I, 10 * I],
              [0, 10 * I, 10 * I, 5 + 2 * I],
          ]
      )
      ev = M.eigenvals()
      # test one random eigenvalue, the computation is a little slow
      test_ev = random.choice(list(ev.keys()))
      assert (M - test_ev * eye(4)).det() == 0
  
imports: import random
  import pytest
  from sympy.core.numbers import I
  from sympy.core.numbers import Rational
  from sympy.core.symbol import Symbol, symbols
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.polys.polytools import Poly
  from sympy.matrices import Matrix, eye, ones
  from sympy.abc import x, y, z
  from sympy.testing.pytest import raises
  from sympy.matrices.exceptions import NonSquareMatrixError
  from sympy.functions.combinatorial.factorials import factorial, subfactorial
label_desc: Use image node_id 4 for calling a global function with example usage: test_issue_14517() without return types