Returns True if the collection is empty.
object expression.IsNullSet (Object)
object expression Required. An object expression that evaluates to an object in the Applies To list.
Object Required. Either a Group or Region object.
The following example adds a Bot to a Group object after checking if it is empty.
If IsNullSet(GroupA) Then GroupA.Add Bot