The info you're requesting should be reported by isset(), like in the example by malbera, but maybe it would be easier in the long run to try another alternative.
You could have a third radio button ("none") set as the default so that it would always be assigned a value. This would also be really easy on the backend since you already have a switch statement setup (at least your example from the other thread had one).
This would also have the added advantage of letting you easily double check form input on the server side (in addition to any javascript you do on the client side).
I know that's not exactly what you asking for but, sometimes that's the best time to look for different strategies.