@Rene_Wiersma listOfMembers.contains(member)
would work, but here you already need to know that listOfMembers
- exists
- is a list that has the contains() API
Two more things that are easy for experienced developers, but not
straightforward for beginners.