func (w *Widget) GetYOk() (int, bool) {
	if w == nil || w.Y == nil {
		return 0, false
	}
	return *w.Y, true
}
func (w *Widget) GetYOk() (int, bool) {
	if w == nil || w.Y == nil {
		return 0, false
	}
	return *w.Y, true
}
// GetYOk returns a tuple with the Y field if it's non-nil, zero value otherwise
// and a boolean to check if the value has been set.