by Mikael Uhl
Check when listening to music if a wired/non wired (bluetooth) Headset is connected, if not, it will disable bluetooth and device music audio.
** Please notice that first you need to set your music app in "When Media Playing" and if you use bluetooth, set in "When BT device connected" your Headset.
** Also, as most devices does already cut off music when headsets are disconnected, this flow will only disable audio if you try to run the music AFTER disconnecting the Hset.
Final version (?)