Add SIsMember command

New to go and totally cargo-culted this from other pieces of code in the library :-). Works well though, any feedback is appreciated.