isAllowed

fun isAllowed(key: K): Boolean

Returns whether the specified key is currently allowed to be used.

Return

true if the action is allowed, false otherwise

Parameters

key

the key to check