def METHOD_NAME(
    self,
    query: Query,
    latest_replacement_time: Optional[datetime],
) -> bool:
    """
    Given a Query and the latest replacement time for any project
    this query touches, returns whether or not this Query's time
    range overlaps that replacement.
    """
    query_from, _ = get_time_range(query, "timestamp")
    return (
        latest_replacement_time > query_from
        if latest_replacement_time and query_from
        else True
    )