def METHOD_NAME(presence, config):
    """Check if test passes with valid database configuration."""
    presence.db_config = config["database"]
    creation = CreationStage(presence)
    result, msg = creation.check_database_creation()
    assert result == "Success"
    assert msg == ""
    assert creation.instance is not None