[membership] adding has membership wrapper