from typing import Sequence


def has_any_prefix(s: str, prefixes: Sequence[str]) -> bool:
    """Checks if a string has any of the provided prefixes.

    Args:
        s: The string to check.
        prefixes: A sequence of prefixes to check.

    Returns:
        Whether the string matches any of the prefixes.
    """
    return any(s.startswith(prefix) for prefix in prefixes)