def METHOD_NAME(self):
    if len(self.head.children) > 0:
        self.group.append(self.head)
    if len(self.body.children) > 0:
        self.group.append(self.body)
    self.table_node.append(self.group)
    return self.table_node