Game on Leaves

A tree consists of n nodes numbered from 0 to n-1. Some leaf nodes contain a single coin. Two players take turns. In each move, a player picks a coin from any leaf and slides it one or more steps toward the root along the unique parent path. If a coin reaches node 0 (the root), it is removed from the game. The player who makes the last move, the one who removes the final coin, wins.

Both players play optimally. Determine whether the first player can force a win. Canonical rules for this repository entry: tokens start on specified leaf nodes, each move slides one token any positive number of steps toward root along its unique path, tokens reaching root are removed, last move wins. Do not infer rules from other "game on leaves/tree" variants.

Examples
Input: [3,[[0,1],[1,2]],[2]]
Output: true
Hints

Game on Leaves

A tree consists of n nodes numbered from 0 to n-1. Some leaf nodes contain a single coin. Two players take turns. In each move, a player picks a coin from any leaf and slides it one or more steps toward the root along the unique parent path. If a coin reaches node 0 (the root), it is removed from the game. The player who makes the last move, the one who removes the final coin, wins.