code: def _is_numpy_type(result):
      return isinstance(result, (numpy.ndarray, numpy.generic))
  
imports: import functools
  import traceback
  import warnings
  import numpy
  import pytest
  import chainerx
  from chainerx.testing import array
label_desc: Use image node_id 4 for calling a global function with example usage: _is_numpy_type(result) and returns: isinstance