maybe shove this code into a method of the optimizer classes to check for itself, in case it's not just a binary check. Also, uh, where is this called from again? You'd think it be in the settings validator but...