Simplify the config check