config: Add suport for 'key in config' syntax

We can use this instead of the cumbersome `config[key].exists()`.