check.valid.buildControls function

Simple check on the control parameters