code: def testIsForwardRef(self):
      tp = typing.Union["B", int]
      tp_args = type_annotations.get_generic_type_args(tp)
      self.assertTrue(type_annotations.is_forward_ref(tp_args[0]))
      self.assertFalse(type_annotations.is_forward_ref(tp_args[1]))
  
file_path: tensorflow/tensorflow/python/util/type_annotations_test.py
imports: import typing
  from absl.testing import parameterized
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
  from tensorflow.python.util import type_annotations
label_desc: Use image node_id 3 for calling the TypeAnnotationsTest obj's underlying member method code with example usage: obj.testIsForwardRef() without return types