class_docstr: Class representing result and status from RPC Call.
class_docstr_tok: ["Class","representing","result","and","status","from","RPC","Call","."]
docstr: Returns True if RPC is successful, otherwise returns False.
  
  This call will block for RPC result.
docstr_tok: ["Returns","True","if","RPC","is","successful",",","otherwise","returns","False",".","This","call","will","block","for","RPC","result","."]
code: def is_ok(self):
      """Returns True if RPC is successful, otherwise returns False.
  
      This call will block for RPC result.
      """
      self._check_status()
      return math_ops.equal(
          self._error_code, constant_op.constant(0, dtype=dtypes.int64)
      )
  
imports: from typing import Optional, Sequence, Union
  import tensorflow.distribute.experimental.rpc.kernels.gen_rpc_ops
  from tensorflow.distribute.experimental.rpc.proto import tf_rpc_service_pb2
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import none_tensor
  from tensorflow.python.framework import type_spec
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.saved_model import nested_structure_coder
  from tensorflow.python.types import core
  from tensorflow.python.util import nest
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 4 for calling the StatusOrResult obj's underlying member method code with example usage: obj.is_ok() and returns: math_ops