from typing import List


def ends_with_any_of(path: str, exts: List[str]) -> bool:
    """
    Returns true if the given path ends with any of the given extensions.
    """
    for ext in exts:
        if path.endswith(ext):
            return True
    return False