code: def testIsVariableInitialized(self):
      for use_gpu in [True, False]:
          with self.test_session(use_gpu=use_gpu):
              v0 = state_ops.variable_op([1, 2], dtypes.float32)
              self.assertEqual(
                  False, variable_v1.is_variable_initialized(v0).eval()
              )
              state_ops.assign(v0, [[2.0, 3.0]]).eval()
              self.assertEqual(
                  True, variable_v1.is_variable_initialized(v0).eval()
              )
  
imports: import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import gen_state_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variable_v1
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 25 for calling the VariableOpTest obj's underlying member method code with example usage: obj.testIsVariableInitialized() without return types