code: def test_check_default_config_skip(monkeypatch, presence):
      """Check if test returns skip if no default config is found."""
  
      def mock_default_config(self):
          return {}
  
      monkeypatch.setattr(
          orion.core.config.__class__, "to_dict", mock_default_config
      )
  
      result, msg = presence.check_default_config()
      assert result == "Skipping"
      assert "No" in msg
      assert presence.db_config == {}
  
imports: import pytest
  import orion.core
  import orion.core.io.experiment_builder
  import orion.core.utils.backward
  from orion.core.cli.checks.creation import CreationStage
  from orion.core.cli.checks.operations import OperationsStage
  from orion.core.cli.checks.presence import PresenceStage
  from orion.core.io.database.pickleddb import PickledDB
  from orion.core.utils.exceptions import CheckError
label_desc: Use image node_id 7 for calling a global function with example usage: test_check_default_config_skip(monkeypatch, presence) and returns: dict