code: func (c *Console) HasCategory() bool {
  	if len(c.Table.children) != 1 {
  		return true
  	}
  	root := c.Table.children[0]
  	rootCat, ok := root.(*Category)
  	if !ok {
  		return false // This shouldn't happen.
  	}
  	for _, child := range rootCat.children {
  		if _, ok := child.(*Category); ok {
  			return true
  		}
  	}
  	return false
  }
docs: // HasCategory returns true if there is at least a single category defined in the console.