code: def test_is_iterable(imagenet):
      assert isinstance(imagenet, Iterable)
      assert isinstance(iter(imagenet), Iterable)
  
file_path: flashtorch/tests/test_imagenet.py
imports: import pytest
  from collections.abc import Iterable
  from flashtorch.utils import ImageNetIndex
label_desc: Use image node_id 2 for calling a global function with example usage: test_is_iterable(imagenet) without return types