Partially Disable Multistate Button

Can I partially disable a multistate button?

For instance I normally want this multistate button to assign a value of 0, 1, or 2 but there are instances where I want to disable the 2 option.

Is that possible, or will I need to come up with a custom solution?

Plan on something custom, as you likely will have to handle the case where an option is forbidden by conditions after it is already chosen, or even in use.

True. I'll probably have to do a property change script and just force it back to the previous value when "disabled"

if event.propertyName == 'controlValue':
	if event.newValue == 2:
		if event.source.parent.parent.getComponent('eqTypeCheck').disable:
			event.source.controlValue = event.oldValue

Getting a "can't coerce None to int" error on line 4. Not sure why.

Edit:
I have the indicator bound to the control value, so if I use

if event.propertyName == 'indicatorValue':
	if event.newValue == 2:
		if event.source.parent.parent.getComponent('eqTypeCheck').disable:
			event.source.controlValue = event.oldValue

It then works without the error