abstract fun contains(key: String): Boolean
(source)
Check if a key is set in this configuration.
key
- A configuration key (e.g. "server.address.hostname"
).
IllegalArgumentException
- If the key cannot be parsed.
Return
true
if the entry is present in this configuration.