Syntax
Query the existence of a group. If ts is not specified then all slots are queried.
b - Boolean indicating group status
tp - tensor pointer
a - integer or string group name
a1 - optional integer or string slot