def is_update():
  """Checks whether the application is in a state requiring an update.

  Returns:
    True if an update is available and this is not a new installation.
  """
  if _is_new_deployment():
    return False

  return version.LooseVersion(constants.APP_VERSION) > version.LooseVersion(
      config_model.Config.get('running_version'))