How can we make a checkbox checked or unchecked programatically based on the increment number if the number is 1 then checkbox is checked and if number is 0 then checked is