Checks if a given key exists in the configuration.
key
Returns true if the key exists, otherwise false.
true
false
Example:
if (config.has('database.host')) { // Use the value }
bool has(String key);