Power switch

Isn't the "latching circuit" a microcontroller (running some firmware to read the button etc)?