code: def try_iter_content(types, depth=0):
      """Helper method for static analysis."""
      if depth > 10:
          # It's possible that a loop has references on itself (especially with
          # CompiledObject). Therefore don't loop infinitely.
          return
  
      for typ in types:
          try:
              f = typ.py__iter__
          except AttributeError:
              pass
          else:
              for lazy_context in f():
                  try_iter_content(lazy_context.infer(), depth + 1)
  
imports: import re
  from parso.python import tree
  from jedi._compatibility import zip_longest
  from jedi import debug
  from jedi.evaluate import analysis
  from jedi.evaluate.lazy_context import LazyKnownContext, LazyKnownContexts, LazyTreeContext, get_merged_lazy_context
  from jedi.evaluate.filters import ParamName
  from jedi.evaluate.base_context import NO_CONTEXTS
  from jedi.evaluate.context import iterable
  from jedi.evaluate.param import get_executed_params, ExecutedParam
label_desc: Use image node_id 1 for calling a global function with example usage: try_iter_content(types, depth) without return types