code: function(node, cond, flags) {
        var flag = false;
        cond = cond || $.lambda(true);
        var c = $.type(cond) == 'string'? function(n) { return n[cond]; } : cond;
        this.eachSubnode(node, function(elem) {
          if(c(elem)) flag = true;
        }, flags);
        return flag;
      }
docs: /*
  Method: anySubnode
  
  Returns *true* if any subnode matches the given condition.
  
  Also implemented by:
  
  <Graph.Node>.
  
  Parameters:
  node - (object) A <Graph.Node>.
  cond - (function) A callback function returning a Boolean instance. This function has as first formal parameter a <Graph.Node>.
  
  Example:
  (start code js)
  $jit.Graph.Util.anySubnode(node, function(node) { return node.name == "mynodename"; });
  or...
  node.anySubnode(function(node) { return node.name == 'mynodename'; });
  (end code)