code: def check_update():
      
      logging.info('Check for app updates.')
      try:
          update = updater.check_for_app_updates()
      except Exception:
          logging.exception('Check for updates failed.')
          return
      if update:
          print("!!! UPDATE AVAILABLE !!!\n"
                "" + static_data.PROJECT_URL + "\n\n")
          logging.info("Update available: " + static_data.PROJECT_URL)
      else:
          logging.info("No update available.")
docs: Check for app updates and print/log them.