code: def isroutine(object):  # pylint: disable=redefined-builtin
      """TFDecorator-aware replacement for inspect.isroutine."""
      return _inspect.isroutine(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 24 for calling a global function with example usage: isroutine(object) and returns: _inspect