code: def test_is_iterable():
      assert is_iterable(())
      assert is_iterable([])
      assert is_iterable(np.zeros(1))
      assert is_iterable(np.zeros((1, 1)))
      assert is_iterable("")
      assert not is_iterable(0)
      assert not is_iterable(object())
  
      def gen():
          yield 1
  
      assert is_iterable(gen())
  
      def func():
          return 1
  
      assert not is_iterable(func)
  
      class C:
          def __iter__(self):
              return self
  
          def __next__(self):
              return self
  
      assert is_iterable(C())
  
imports: import numpy
  from ..utilities import is_iterable, is_numlike, seq_prod
label_desc: Use image node_id 1 for calling a global function with example usage: test_is_iterable() and returns: int, self, self