Is swtich mode power supply (SMPS) safely isolated?

You must choose a transformer with a split bobbin to insure the windings are separate. A layered constructed transformer could short internally and connect the mains to the output.

Yea..good point there.
Interestingly, the existing 12v transformer, installed by the original pool company, is not a split bobbin one!