export const isBranch = (value: any): value is Branch =>
  hasLabel(value) && isChildren(children(value));