boolean function ( ) { if ( ( this . switch1 == null ) || ( this . switch1 . isOn ( ) == true ) || ( this . switch2 == null ) || ( this . switch2 . isOn ( ) == true ) ) return ( false ) ; else return ( true ) ; }
this function returns whether or not the switch is on or not . concode_field_sep SingleThrowSwitch switch2 concode_elem_sep SingleThrowSwitch switch1 concode_field_sep placeholderType placeHolder