Finds a Dijit instance reference by a passed node reference.
var widget = dijit.byNode( dojo.byId("foo") ); if(widget){ // we found that node! }