There may be a simpler way to do it, but this worked for me.
Make sure your
tag has a title
attribute:
Then use a function like this to check for the presence of a style within a particular styleseet:
function linkLoaded(linkTitle, checkStyle)
{
for (var ix=0; ix