Check config options in a cleaner way