has method
Checks if an environment variable is set.
Returns true if the variable exists, regardless of its value.
if (env.has('DATABASE_URL')) {
// Database is configured
}
Implementation
@override
bool has(String key) => _env.containsKey(key);