def is_latest_version(current_version: str) -> bool:
    """Returns True if package version is latest released version."""
    latest_version = get_latest_version(current_version)
    return version_compare.version_compare(current_version, latest_version) >= 0
Returns True if package version is latest released version.
lightly/api/_version_checking.py