code: def _is_creator(model):
      return inspect.ismethod(model) or inspect.isfunction(model)
  
file_path: BigDL/python/nano/src/bigdl/nano/automl/tf/objective.py
imports: from selectors import EpollSelector
  from tensorflow.keras.backend import clear_session
  from tensorflow.keras.models import clone_model
  import tensorflow
  import inspect
  import copy
  from bigdl.nano.automl.hpo.backend import create_tfkeras_pruning_callback
  from bigdl.nano.utils.common import invalidInputError
label_desc: Use image node_id 1 for calling a global function with example usage: _is_creator(model) and returns: unknown