Test if a node has been freed

Is there a way to test if a Synth object has been freed? For example, if I’m playing a buffer and use doneAction=2 to free the synth automatically, but I don’t know how long the buffer is, and I may want to free it manually. I don’t need to disable error output - I just want a way to test if the node still exists.

mySynth.register and then you can use mySynth.isPlaying.

But also be aware that there is a very short time between the synth releasing in the server and the message arriving in the language – it’s very short so it’s unlikely that you would catch the state when it’s out of sync, but it does happen.