isEncoding

abstract fun isEncoding(encoding: String): Boolean

Returns whether a given string represents a valid encoding supported by the runtime.