code: def test_local(self):
      self.assertTrue(self.spam.lookup("x").is_local())
      self.assertFalse(self.spam.lookup("bar").is_local())
      # Module-scope globals are both global and local
      self.assertTrue(
          self.top.lookup("some_non_assigned_global_var").is_local()
      )
      self.assertTrue(
          self.top.lookup("some_assigned_global_var").is_local()
      )
  
imports: import symtable
  import unittest
  from test import support
  from test.support import os_helper
label_desc: Use image node_id 10 for calling the SymtableTest obj's underlying member method code with example usage: obj.test_local() without return types