How to get the boolean value of a UI button

Hello. Im trying to get the boolean value of a UI button selected. Can I do this using GetComponentin Children?
I am clueless about the code.
So Im basically using gazeinput to select an answer from three answers(all of these are buttons), so when i gaze at the answer, I am calling the function to handle that answer, but I want to pass the boolean value of the button to it.
HandleAnswer(btnanswer.GetComponentInChildren<)
im stuck here

@RobAnthem I only need to determine the value of the button, true or false. if im doing this using the event trigger, its easy, but I need to first check the value in the update function before i can call a function.