code: def test_is_categorical_split(spark_dtree):
      assert spark_dtree.is_categorical_split(1) is False
      assert spark_dtree.is_categorical_split(0) is True
      assert spark_dtree.is_categorical_split(5) is False
      assert spark_dtree.is_categorical_split(12) is False
      assert spark_dtree.is_categorical_split(13) is True
  
imports: import numpy
  import pyspark
  import pytest
  from pyspark.ml.classification import DecisionTreeClassificationModel
  from pyspark.sql import SparkSession
  from dtreeviz.models.spark_decision_tree import ShadowSparkTree
label_desc: Use image node_id 20 for calling a global function with example usage: test_is_categorical_split(spark_dtree) without return types