remove unused isCheckBoxOrRadioButton

It doesn't seem like this method is used anymore.