In this kettle there is probably a bimetalic strip (not visible) in the steam path which flicks the switch off when the kettle boils. A bimetallic popping disc (which pops like the safety button on the lid of a jar of jam) also flicks the switch off if the kettle overheats.