Detect presence of 230v - not measure

Why not small inexpensive reed relays with 240 vac coils. The arduino would just read the relay contact status so fully isolated from the mains voltage.