isDisabled

@Since(version = "2.2")
abstract fun isDisabled(uuid: UUID, key: NamespacedKey): Boolean

Checks if a player, identified by their uuid, has an enchantment (key) disabled. Please note that only UnderscoreEnchants' enchantments can be disabled. Vanilla enchantments cannot be disabled.

Return

true if the player has the enchantment disabled, false otherwise