How to detect whether a bathroom stall is closed?
I'm thinking photointerrupter triggered by the bolt as it crosses into the strike, just at the strike opening so a half-locked bolt still registers as "locked".