public bool HaveFriend(int id) { lock (Friends) { return this.Friends.FindAll(x => x.Account.AccountId == id).Count > 0; } }