alarms by the bathrooms

Have you been to a store that had alarm towers on the way to the bathrooms? One of the large stores at my mall has this. They beep if someone tries to take unpaid for stuff into the bathroom.

Yes our mall has the same thing