Function isRadiobuttonOrCheckbox