code: def handle_generators(self, generators):
      defined = set()
      required = set()
      for generator in generators:
          get_symbols(generator, _ast.Load)
          required.update(get_symbols(generator, _ast.Load) - defined)
          defined.update(get_symbols(generator, _ast.Store))
  
      return defined, required
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ...asttools import Visitor, visit_children
  import _ast
  from ...asttools.visitors.symbol_visitor import get_symbols
label_desc: Use image node_id 6 for calling the CollectNodes obj's underlying member method code with example usage: obj.handle_generators(generators) and returns: defined,  required