code: def test_isinstance():
      class A(eqxi.Enumeration):
          a = "hi"
  
      class B(eqxi.Enumeration):
          b = "bye"
  
      assert isinstance(A.a, A)
      assert not isinstance(0, A)
      assert not isinstance(B.b, A)
  
file_path: equinox/tests/test_enum.py
imports: import equinox
  import equinox.internal
  import jax
  import jax.numpy
  import jax.tree_util
  import pytest
  from .helpers import tree_allclose
label_desc: Use image node_id 7 for calling a global function with example usage: test_isinstance() without return types