func (u *User) HasName() bool {
	if u != nil && u.Name != nil {
		return true
	}

	return false
}
func (u *User) HasName() bool {
	if u != nil && u.Name != nil {
		return true
	}

	return false
}
func ( u * User ) HasName ( ) bool { if u != nil && u . Name != nil { return true } return false }
// HasName returns a boolean if a field has been set.
HasName returns a boolean if a field has been set .