Voltage safety detector