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

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

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