add membership testing operator

I added the membership testing operator, please review it.