code: def test_isreal():
      assert isreal("int32")
      assert isreal(dshape("int32"))
      assert isreal("?int32")
      assert isreal("float64")
      assert not isreal("complex64")
      assert not isreal("{x: int64, y: float64}")
  
file_path: datashader/datashader/tests/test_utils.py
imports: from __future__ import annotations
  import numpy
  from xarray import DataArray
  from datashader.datashape import dshape
  from datashader.utils import Dispatcher, apply, calc_res, isreal, orient_array
label_desc: Use image node_id 2 for calling a global function with example usage: test_isreal() without return types