code: def __is_tf_tensor(x):
      return isinstance(x, (tf.Tensor, tf.Variable))
  
imports: import logging
  import os
  import numpy
  import tensorflow
  from tensorflow.python.framework.errors import NotFoundError
  import tf_encrypted
label_desc: Use image node_id 4 for calling a global function with example usage: __is_tf_tensor(x) and returns: isinstance