code: def test_is_numlike():
      for good in (
          1,
          0,
          1.1,
          False,
          True,
          np.zeros(1),
          np.zeros((3,)),
          1j,
          np.complex128(1),
      ):
          assert is_numlike(good)
      for bad in ("", object(), np.array(""), [], [1], (), (1,)):
          assert not is_numlike(bad)
  
imports: import numpy
  from ..utilities import is_iterable, is_numlike, seq_prod
label_desc: Use image node_id 2 for calling a global function with example usage: test_is_numlike() without return types