Python magic to detect ongoing transmissions -- listen before talk!