What is membership, searching for this it looks like that term is used not just in Python.
I found it while learning about sets, the documentation says:
Common uses include membership testing, removing duplicates from a sequence, and computing mathematical operations such as intersection, union, difference, and symmetric difference.