from typing import Union
from typing import Any
from typing import Sequence


def supports_iteration(value: Union[Any, Sequence[Any]]) -> bool:
    """Returns ``True`` if the ``value`` supports iterations."""
    try:
        for _ in value:
            return True
    except TypeError:
        pass
    return False