class_docstr: Concrete implementation of `tf.experimental.Optional`.
  
  NOTE(mrry): This implementation is kept private, to avoid defining
  `Optional.__init__()` in the public API.
code: def has_value(self, name=None):
      with ops.colocate_with(self._variant_tensor):
          return gen_optional_ops.optional_has_value(
              self._variant_tensor, name=name
          )
  
imports: import abc
  from tensorflow.core.protobuf import struct_pb2
  from tensorflow.python.data.util import structure
  from tensorflow.python.framework import composite_tensor
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import type_spec
  from tensorflow.python.ops import gen_optional_ops
  from tensorflow.python.saved_model import nested_structure_coder
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 2 for calling the _OptionalImpl obj's underlying member method code with example usage: obj.has_value(name) and returns: gen_optional_ops