def METHOD_NAME(monkeypatch, presence, config):
    """Check if test skips when another configuration is present."""
    def mock_file_config(self):
        return {}
    presence.db_config = config["database"]
    monkeypatch.setattr(experiment_builder, "get_cmd_config", mock_file_config)
    result, msg = presence.check_configuration_file()
    assert result == "Skipping"
    assert presence.db_config == config["database"]