code: def db_is_outdated(database):
      """Return True if the database scheme is outdated."""
      deprecated_indices = [
          ("name", "metadata.user"),
          ("name", "metadata.user", "version"),
          "name_1_metadata.user_1",
          "name_1_metadata.user_1_version_1",
      ]
  
      index_information = database.index_information("experiments")
      return any(
          index in deprecated_indices
          for index in index_information.keys()
      )
  
file_path: orion/src/orion/core/utils/backward.py
imports: import copy
  import logging
  import pprint
  import orion.core
  from orion.core.io.orion_cmdline_parser import OrionCmdlineParser
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 5 for calling a global function with example usage: db_is_outdated(database) and returns: any