Hi Wez,
Sorry, I've just come across your topic.
I should have helped you before, because the variable silks is undocumented, and it does indeed return 1 if silks are available, and 0 if they are not! I will add it to the manual now, sorry you have wasted so much time without knowing about this variable!