config / org.apache.tuweni.config / Configuration / contains

contains

abstract fun contains(key: String): Boolean (source)

Check if a key is set in this configuration.

Parameters

key - A configuration key (e.g. "server.address.hostname").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
true if the entry is present in this configuration.