from typing import Iterable


def endswith(st: str, suffixes: Iterable[str]) -> bool:
    """
    Return true if string ends with one of the given suffixes.
    """
    return any(st.endswith(ext) for ext in suffixes)