code: def is_tensorboard_available():
      return _tensorboard_available
  
imports: import importlib
  import importlib_metadata
  from towhee.utils.log import trainer_log
label_desc: Use image node_id 2 for calling a global function with example usage: is_tensorboard_available() and returns: _tensorboard_available