class_docstr: The presence stage of the checks.
docstr: Check if configuration file has valid database configuration.
code: def check_configuration_file(self):
      """Check if configuration file has valid database configuration."""
      config = experiment_builder.get_cmd_config(self.cmdargs)
  
      if len(config) == 0:
          return "Skipping", "Missing configuration file."
  
      if "database" not in config.get("storage", {}):
          return "Skipping", "No database found in configuration file."
  
      config = config["storage"]["database"]
      names = ["type", "name", "host", "port"]
  
      if not any(name in config for name in names):
          return (
              "Skipping",
              "No configuration value found inside `database`.",
          )
  
      self.db_config.update(config)
  
      print("\n   ", config)
  
      return "Success", ""
  
file_path: orion/src/orion/core/cli/checks/presence.py
imports: import orion.core
  from orion.core.io import experiment_builder
  from orion.core.utils import backward
label_desc: Use image node_id 4 for calling the PresenceStage obj's underlying member method code with example usage: obj.check_configuration_file() and returns: str,  str, str,  str, str,  str, str,  str