How can i check if a sound is playing in my game at all no matter from where ?

How can i check if a sound is playing in my game at all no matter from where ?

I want to make it that if i activate a new sound the one that is playing will stop.