isOptionDisabled

abstract var isOptionDisabled: (option: Option, Options<Option>) -> Boolean?(source)

Override the built-in logic to detect whether an option is disabled

An example can be found in the /advanced#replacing-builtins documentation.