code: def should_wrap_dataloader(loader):
      from torch.utils.data import DataLoader
  
      try:
          from torch.utils.data import IterableDataset
  
          not_iterable = not isinstance(loader.dataset, IterableDataset)
      except Exception as e:
          not_iterable = LifeCycle
      return isinstance(loader, DataLoader) and not_iterable
  
file_path: BigDL/python/orca/src/bigdl/orca/learn/pytorch/core/lifecycle.py
imports: from abc import abstractmethod, ABCMeta
  from torch.utils.data import DataLoader
  from torch.utils.data.distributed import DistributedSampler
label_desc: Use image node_id 9 for calling the LifeCycle obj's underlying member method code with example usage: obj.should_wrap_dataloader(loader) and returns: unknown