class_docstr: A tree built by XGBoost.
docstr: Whether a node has categorical split.
docstr_tok: ["Whether","a","node","has","categorical","split","."]
code: def is_categorical(self, node_id: int) -> bool:
      """Whether a node has categorical split."""
      return self.nodes[node_id].split_type == SplitType.categorical
  
imports: import argparse
  import json
  from dataclasses import dataclass
  from enum import IntEnum, unique
  from typing import Any, Dict, List, Sequence, Union
  import numpy
label_desc: Use image node_id 8 for calling the Tree obj's underlying member method code with example usage: obj.is_categorical(node_id) and returns: unknown