Checks if a key exists in the current environment.
key
Returns true if the key exists, false otherwise.
true
false
bool has(String key);