If the result of friends_a.count(user) is at least 1, then the user is contained in the first list.

Make sure to pick >=, followed by 1.