Simple! Look for the songbird Javascript object, e.g.
if (typeof(songbird) != "undefined") alert("You're in Songbird!"); else alert("You're not in Songbird. :(");
Viewing Details: