Yes, the mains frequency is very stable. The continuity of the mains power is not stable over time. There are various switching transients that may cause a dropout for several cycles. In the US, a shorted power line somewhere may cause a circuit breaker to try a different connection to restore the power 3 times. If that doesn't work, then your power is out for the duration.
Paul