code: def is_container(obj: Any) -> bool:
      """Test if an object is a container (iterable) but not a string."""
      if isinstance(obj, Proxy):
          # Proxy of any object is considered a container because it implements __iter__
          # to forward the call to the lazily initialized object
          # Unwrap Proxy before checking __iter__ to evaluate the proxied object
          obj = obj.__wrapped__
      return hasattr(obj, "__iter__") and not isinstance(obj, str)
  
imports: from __future__ import annotations
  import copy
  import itertools
  import re
  import signal
  import warnings
  from datetime import datetime
  from functools import reduce
  from typing import TYPE_CHECKING, Any, Callable, Generator, Iterable, Mapping, MutableMapping, TypeVar, cast
  from lazy_object_proxy import Proxy
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException, RemovedInAirflow3Warning
  from airflow.utils.module_loading import import_string
  from airflow.utils.types import NOTSET
label_desc: Use image node_id 6 for calling a global function with example usage: is_container(obj) and returns: unknown