the list is the helpful part to understanding it.
it would be terrible if, with bar being a list and foo being a member of the list
if foo in bar: return true
modified the list. So yeah, you want to look at the list not edit the list, it's a pointer.