from typing import List
from pathlib import Path


def _filter_unused_builds(used_build_paths: List[Path], build_path: Path) -> bool:
    """Return whether a build is not used."""
    return build_path.name not in used_build_paths