func inList(pFriendOther *Friend, pFriends *FriendsList) bool {
	for _, f := range pFriends.Friends.FriendsArray {
		if f.UserId == pFriendOther.UserId {
			return true
		}
	}
	return false
}
//To know whether the author of an active in my current friends-list or not.
To know whether the author of an active in my current friends-list or not.
// To know whether the author of an active in my current friends - list or not .
func inList(pFriendOther *Friend, pFriends *FriendsList) bool {
	for _, f := range pFriends.Friends.FriendsArray {
		if f.UserId == pFriendOther.UserId {
			return true
		}
	}
	return false
}
func inList ( pFriendOther * Friend , pFriends * FriendsList ) bool { for _ , f := range pFriends . Friends . FriendsArray { if f . UserId == pFriendOther . UserId { return true } } return false }
To know whether the author of an active in my current friends-list or not.
To know whether the author of an active in my current friends - list or not .