Yes but isn't it best to practice against it in class? Because even street fighters kick and grab the groins. I mean isn't that part of the reason we train? You shouldn't go around thinking its against the RULES to hit there.
In such situations when you can block this attack with your legs it leaves them open for your hands in some incidents.
Training against it becomes as natural as countering a head punch. We fight the way we train!
That was cute "Hello is there anyboy in there"!, keep training little one and protect your jewels LOL.