code: def use_sharded_dataset(use: Optional[bool] = None) -> bool:
      if use is not None:
          _iru._USE_SHARDED_DATASETS = use
          return _iru._USE_SHARDED_DATASETS
  
      use = os.getenv("TORCHVISION_SHARDED_DATASETS")
      if use is not None:
          return use == "1"
  
      return _iru._USE_SHARDED_DATASETS
  
imports: import os
  from typing import Optional
  import torchvision._internally_replaced_utils
label_desc: Use image node_id 2 for calling a global function with example usage: use_sharded_dataset(use) and returns: _iru, _iru, unknown