Add an equality checking argument to `member`

This pull request is for code review.