code: def _check_version():
      
      from ._config import APP_NAME
  
      if VersionCache.load(APP_NAME).is_fresh:
          return
  
      from pkg_resources import parse_version
      from renku.version import __version__
  
      version = parse_version(__version__)
      allow_prereleases = version.is_prerelease
  
      latest_version = find_latest_version(
          'renku', allow_prereleases=allow_prereleases
      )
  
      if version < latest_version:
          click.secho(
              'You are using renku version {version}, however version '
              '{latest_version} is available.\n'
              'You should consider upgrading ...'.format(
                  version=__version__,
                  latest_version=latest_version,
              ),
              fg='yellow',
              bold=True,
          )
  
      VersionCache(pypi_version=str(latest_version)).dump(APP_NAME)
docs: Check renku version.