code: def check_is_latest_version_in_background(
      current_version: str,
  ) -> None:
      """Checks if the current version is the latest version in a background thread."""
  
      def _check_version_in_background(current_version: str) -> None:
          try:
              is_latest_version(current_version=current_version)
          except Exception:
              # Ignore failed check.
              pass
  
      thread = Thread(
          target=_check_version_in_background,
          kwargs=dict(current_version=current_version),
          daemon=True,
      )
      thread.start()
  
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 5 for calling a global function with example usage: check_is_latest_version_in_background(current_version) without return types