code: def testHandleCond(self):
      with self.cached_session() as sess:
          # Return a handle and a value
          a = constant_op.constant(10)
          b = constant_op.constant(5)
          p = math_ops.less(a, b)
          c = math_ops.multiply(a, b)
          h = session_ops.get_session_handle(c)
          p, h = self.evaluate([p, h])
  
          # Run by feeding a tensor handle.
          f, x = session_ops.get_session_tensor(h.handle, dtypes.int32)
          if p:
              y = math_ops.multiply(x, 10)
          else:
              y = math_ops.multiply(x, 100)
          result = sess.run(y, feed_dict={f: h.handle})
  
          self.assertEqual(5000, result)
  
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import session_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the SessionOpsTest obj's underlying member method code with example usage: obj.testHandleCond() without return types