how to find out whether the check box is checked or not