How can I check if a generated radio button is checked in PyQt5? I’m creating a class roster with PyQt5.