func (u *User) GetIsAdmin() bool {
	if u == nil || u.IsAdmin == nil {
		return false
	}
	return *u.IsAdmin
}
func (u *User) GetIsAdmin() bool {
	if u == nil || u.IsAdmin == nil {
		return false
	}
	return *u.IsAdmin
}
func ( u * User ) GetIsAdmin ( ) bool { if u == nil || u . IsAdmin == nil { return false } return * u . IsAdmin }
// GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
GetIsAdmin returns the IsAdmin field if non - nil zero value otherwise .