How to make sure that the Driver is inactive before calling sequence.kill

Hi I want to stop an infinite sequence (a periodic pulse generator) in the testcase. But I see that after calling sequence.kill(), the driver is still running and the periodic pulses are getting driven.
I saw your post that before stopping a sequence, you should make sure that the driver is inactive. My question is that how to make sure that the driven is inactive from the testcase ? and then calling the stop sequest macro.

Thanks,
Subhamay