code: def iterate_contexts(
      contexts, contextualized_node=None, is_async=False
  ):
      """
      Calls `iterate`, on all contexts but ignores the ordering and just returns
      all contexts that the iterate functions yield.
      """
      return ContextSet.from_sets(
          lazy_context.infer()
          for lazy_context in contexts.iterate(
              contextualized_node, is_async=is_async
          )
      )
  
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 1 for calling a global function with example usage: iterate_contexts(contexts, contextualized_node, is_async) and returns: ContextSet