docs: @Override
      public boolean isLeaf(Object nodeObj) {
          if (debugger == null) {
              return true;
          }
          VariableNode node = (VariableNode) nodeObj;
          return children(node).length == 0;
      }