imageworks/OpenShadingLanguage — pull request #186 by lgritz (2012-12-13 19:50:23+00:00)
Title: isconnected(var) queries whether var is an upstream-connected parameter.

This was a request from our Shading department, who wanted the ability
to write shader nodes that had logic that differed based on whether the
node was connected to upstream components or not.