func (w *Widget) HasType() bool {
	if w != nil && w.Type != nil {
		return true
	}

	return false
}
func (w *Widget) HasType() bool {
	if w != nil && w.Type != nil {
		return true
	}

	return false
}
func ( w * Widget ) HasType ( ) bool { if w != nil && w . Type != nil { return true } return false }
// HasType returns a boolean if a field has been set.
HasType returns a boolean if a field has been set .