def METHOD_NAME(new_version):
    if "latest" not in release:
        return True
    old_version = release["latest"]
    old_date = release.get("latestReleaseDate", None)
    # Do our best attempt at comparing the version numbers
    try:
        return Version(new_version) >= Version(old_version)
    except:
        # We compare the dates if we have one
        # Note that multiple releases can show up on the same date
        if old_date:
            return old_date < datetime.date.fromisoformat(
                R1[new_version]
            )
        return True