code: function(widget, label) {
  
  		if (Lava.schema.DEBUG && !label) Lava.t();
  
  		// Targets are different from view locators, there must be no hardcoded '@widget' label, like in views
  		// ('@widget' label may be very harmful in this case. Use widget names instead!)
  
  		if (label == 'root') {
  
  			while (widget.getParentWidget()) {
  
  				widget = widget.getParentWidget();
  
  			}
  
  		} else {
  
  			while (widget && widget.label != label) {
  
  				widget = widget.getParentWidget();
  
  			}
  
  		}
  
  		return widget;
  
  	}
docs: Find first widget with given label among parents of the given widget (including widget itself)
  
  @param {Lava.widget.Standard} widget Starting widget
  @param {string} label
  @returns {?Lava.widget.Standard}