def is_collection_type(type_hint: Any) -> bool:
    """
    Checks if the type hint represents a collection type (list, tuple, dict).

    Args:
        type_hint: The type hint to check.

    Returns:
        True if the type hint is a collection type, False otherwise.
    """

    origin = get_origin(type_hint)
    return origin in (list, tuple, dict) or type_hint in (list, tuple, dict)

    Checks if the type hint represents a collection type (list, tuple, dict).

    Args:
        type_hint: The type hint to check.

    Returns:
        True if the type hint is a collection type, False otherwise.
    
ai/core/src/unitycatalog/ai/core/utils/callable_utils.py