func (c *ViewManager) HasWidget(widgetType string) bool {
	result := false
	c.MapWidgets(func(wi *widget.WrapperWidget) (err error) {
		if wi.WidgetType == widgetType {
			result = true
		}
		return
	})
	return result
}
// HasWidget returns whether config contains 'widgetType' stack or not
HasWidget returns whether config contains 'widgetType' stack or not
// HasWidget returns whether config contains ' widgetType ' stack or not
func (c *ViewManager) HasWidget(widgetType string) bool {
	result := false
	c.MapWidgets(func(wi *widget.WrapperWidget) (err error) {
		if wi.WidgetType == widgetType {
			result = true
		}
		return
	})
	return result
}
func ( c * ViewManager ) HasWidget ( widgetType string ) bool { result := false c . MapWidgets ( func ( wi * widget . WrapperWidget ) ( err error ) { if wi . WidgetType == widgetType { result = true } return } ) return result }
HasWidget returns whether config contains 'widgetType' stack or not
HasWidget returns whether config contains ' widgetType ' stack or not