my game stopes itunes music

Hi,

Is there a way to check if a music is playing on ios devices ? I noticed my game is stopping any background music playing on itunes or soundcloud.

It would be great if I can check if something is currently played to decide to start or not the music of the game.

Thanks in advance.