def nest_contains_list(nest):
    """Whether the nest contains list.

    Args:
        nest (nest): a nest structure
    Returns:
        bool: True if nest contains one or more list
    """
    if isinstance(nest, list):
        return True
    elif isinstance(nest, tuple):
        for item in nest:
            if nest_contains_list(item):
                return True
    elif isinstance(nest, dict):
        for _, item in nest.items():
            if nest_contains_list(item):
                return True
    return False