code: def is_tqdm_exists(callbacks):
      for callback in callbacks:
          if isinstance(callback, TqdmCallback):
              return True
      return False
  
file_path: BigDL/python/orca/src/bigdl/orca/learn/pytorch/callbacks/tqdm.py
imports: from bigdl.orca.learn.pytorch.callbacks import Callback
  from bigdl.dllib.utils.log4Error import invalidInputError
label_desc: Use image node_id 1 for calling a global function with example usage: is_tqdm_exists(callbacks) and returns: False, True