Returns True if the specified object is a member of the collection.
object expression.IsMember (Object)
object expression Required. An object expression that evaluates to an object in the Applies To list.
Object Required Bot if applied to a Group, Cell if applied to a Region.
The following example checks to see if a Bot is a member of a Group object called "TitForTat" and if it is, then removes it from the Group.
If TitForTat.IsMember(Bot) Then TitForTat.Remove Bot