code: def find_symbols(nodes, parent_symbols=None):
      sym = Symbols(parent=parent_symbols)
      visitor = FrameSymbolVisitor(sym)
      for node in nodes:
          visitor.visit(node)
      return sym
  
imports: from ._compat import iteritems
  from .visitor import NodeVisitor
label_desc: Use image node_id 1 for calling a global function with example usage: find_symbols(nodes, parent_symbols) and returns: sym