code: def isgeneratorfunction(object):  # pylint: disable=redefined-builtin
      """TFDecorator-aware replacement for inspect.isgeneratorfunction."""
      return _inspect.isgeneratorfunction(
          tf_decorator.unwrap(object)[1]
      )
  
imports: import collections
  import functools
  import inspect
  from tensorflow.python.util import tf_decorator
label_desc: Use image node_id 21 for calling a global function with example usage: isgeneratorfunction(object) and returns: _inspect