tf.raw_ops.OptionalHasValue

Returns true if and only if the given Optional variant has a value.

optionalA Tensor of type variant.
nameA name for the operation (optional).

A Tensor of type bool.