Simplify config.get() logic
Reimplement config key checking to use 'in' operator internally