15.06.2016, 13:43
grp.tag always returns a table if valid tag, tag list or tag table is passed. So the correct way is to check table length (#mytable). Still, you can call write and other methods on an empty table returned by grp.tag, it just won't do anything.