If in doubt, isolate. Your PV inverter should not energise its output if it does not detect mains voltage, so you could get away with not isolating it if you switched the main breaker off. But it's not going to cost you anything to do it thoroughly, so don't take the chance.