code: def assertHasDefinedIn(self, node, expected):
      defined_in = anno.getanno(node, anno.Static.DEFINED_VARS_IN)
      defined_in_str = set(str(v) for v in defined_in)
      if not expected:
          expected = ()
      if not isinstance(expected, tuple):
          expected = (expected,)
      self.assertSetEqual(defined_in_str, set(expected))
  
imports: from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import cfg
  from tensorflow.python.autograph.pyct import naming
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.autograph.pyct import transformer
  from tensorflow.python.autograph.pyct.static_analysis import activity
  from tensorflow.python.autograph.pyct.static_analysis import reaching_definitions
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the ReachingDefinitionsAnalyzerTestBase obj's underlying member method code with example usage: obj.assertHasDefinedIn(node, expected) without return types