code: def iterator_to_context_set(func):
      def wrapper(*args, **kwargs):
          return ContextSet.from_iterable(func(*args, **kwargs))
  
      return wrapper
  
imports: from parso.python.tree import ExprStmt, CompFor
  from jedi import debug
  from jedi._compatibility import Python3Method, zip_longest, unicode
  from jedi.parser_utils import clean_scope_docstring, get_doc_with_call_signature
  from jedi.common import BaseContextSet, BaseContext
  from jedi.evaluate.helpers import EvaluatorIndexError, EvaluatorTypeError, EvaluatorKeyError
label_desc: Use image node_id 2 for calling a global function with example usage: iterator_to_context_set(func) and returns: wrapper, ContextSet