jquery to compare checkbox checked or not code example
Example 1: checkbox is checked jquery
$(your_checkbox).is(':checked');
Example 2: jquery check if checkbox is not checked
if (!$("#checkboxID").is(":checked")) {
// do something if the checkbox is NOT checked
}