I\'m trying to check if a checkbox component is checked within a state hook method of a Material-UI Checkbox, I\'ve searched up a lot but none of the solutions worked for me