code: def _is_tensorflow_tensor(obj):
      # e.g. __module__='tensorflow.python.framework.ops', __name__='EagerTensor'
      return (
          obj.__class__.__module__.split(".")[0] == "tensorflow"
          and "Tensor" in obj.__class__.__name__
      )
  
imports: import datetime
  import json
  from typing import List, Dict, Any, Optional, MutableMapping
  from google.protobuf import timestamp_pb2
  from .servicepb import keepsake_pb2
  from .experiment import Experiment
  from .checkpoint import Checkpoint, PrimaryMetric, CheckpointList
label_desc: Use image node_id 1 for calling a global function with example usage: _is_tensorflow_tensor(obj) and returns: unknown