Refactor to isCheckBoxChecked