I ain't no professional motorcycle mechanic, but couldn't you just require riders to demonstrate that both wheels can spin freely?
The issue is not that simple. The problem that was encountered on track with certain aftermarket brake levers is that when the lever is let go, it doesn't allow the piston inside the master cylinder to retract far enough to uncover the vent hole that connects the brake circuit to the reservoir when you are not applying the brake.
Then what happens ... the bike seems OK in the paddock, the rider goes out on the track, uses the brakes a few times. The heat starts soaking into the fluid at the caliper. The fluid starts expanding, but because the vent hole is blocked, the fluid has nowhere to go. So it starts applying pressure (drag) to the brake pads, slightly applying the brake even though the rider is not squeezing the lever. Applying the brake causes more heat to be generated ... which causes the fluid to try to expand more but it can't so it applies more pressure, applying the brake more, generating more heat, and I think you can see the feedback loop that has been created. If the rider is lucky, the bike will come to its uncommanded stop before the situation goes catastrophic. If the rider is not lucky, it ends with the front brake locking the front wheel and sending the rider cartwheeling down the track while everyone else wonders "Why the heck could someone crash
there?"
Detecting this situation before going on the track requires taking a brake caliper off and pushing the pistons back. If they push back and the fluid goes into the reservoir, it's OK. If the pistons cannot be pushed back, there is a problem. This is not a viable exercise at tech inspection.
The rider can detect it on track if the brake lever starts feeling unusually firm with no free play before the brakes start actuating. If anyone reading this detects their brakes doing that while out on their bike then
coast to a stop immediately! If you HAVE to apply the brake then do so, but be prepared for the brakes not releasing afterward!