code: def is_layer(obj):
      """Implicit check for Layer-like objects."""
      # TODO(b/110718070): Replace with isinstance(obj, base_layer.Layer).
      return hasattr(obj, "_is_layer") and not isinstance(obj, type)
  
file_path: tensorflow/tensorflow/python/trackable/layer_utils.py
imports: import collections
  import weakref
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 1 for calling a global function with example usage: is_layer(obj) and returns: unknown