code: def _is_algorithm_kd_tree(model):
      """Checks if the algorithm for the scikit model is set to 'kd_tree'."""
      return model.algorithm == "kd_tree" or (
          model.algorithm == "auto" and model._fit_method == "kd_tree"
      )
  
imports: from ..._deps import _HAS_SKLEARN
  from ...models import MLModel
  import coremltools
  from coremltools.proto import FeatureTypes_pb2
  import numpy
  import scipy
  import six
label_desc: Use image node_id 13 for calling a global function with example usage: _is_algorithm_kd_tree(model) and returns: unknown