Characterizing isochronous centres by Lie brackets