code: def func_has_training_argument(func):
      """Checks whether saved model has a `training` argument."""
      if not callable(func):
          return False
      fullargspec = tf_inspect.getfullargspec(func.__call__)
      return (
          "training" in fullargspec.args
          or "training" in fullargspec.kwonlyargs
      )
  
imports: import functools
  import json
  from absl import logging
  import tensorflow
  from tensorflow_hub import module_v2
  from tensorflow.python.framework import smart_cond
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 4 for calling a global function with example usage: func_has_training_argument(func) and returns: unknown, False