Add a function to check if a config option is set to a non-empty value