I didn’t have any luck with the GetType() reflection here - perhaps as I’d named my GameObject something different to the name of the class… So I used
if (FindObjectsOfType<MusicPlayer>().Length > 1)
instead, which worked.
Just FYI if anyone else has a problem with the music restarting…