From a ground school memory of long ago…….before the mandatory requirement for smoke detectors in lavs, the “poor mans” smoke detector was to route some of the air from the lav to flight deck……
Trying to remember which aircraft school….I tend to “flush” old airplane systems from memory when learning a new one.