code: def tqdm(it, *args, **kwargs):
      disable = not env.use_tqdm
  
      kwargs = kwargs.copy()
      if not sys.stdout.isatty():
          kwargs.update(mininterval=10.0)
  
      return _tqdm(it, *args, disable=disable, **kwargs)
  
imports: import functools
  import sys
  from tqdm import tqdm
  from .env import env
label_desc: Use image node_id 1 for calling a global function with example usage: tqdm(it) and returns: _tqdm