code: 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
      )
  
file_path: lightly/lightly/api/_version_checking.py
imports: from threading import Thread
  from lightly.api import utils
  from lightly.api.swagger_api_client import LightlySwaggerApiClient
  from lightly.openapi_generated.swagger_client.api import VersioningApi
  from lightly.utils import version_compare
label_desc: Use image node_id 1 for calling a global function with example usage: is_latest_version(current_version) and returns: unknown