code: def check_get_quantile_cut(tree_method: str) -> None:
      """Check the quantile cut getter."""
  
      use_cupy = tree_method == "gpu_hist"
      check_get_quantile_cut_device(tree_method, False)
      if use_cupy:
          check_get_quantile_cut_device(tree_method, True)
  
file_path: xgboost/python-package/xgboost/testing/updater.py
imports: import json
  from functools import partial, update_wrapper
  from typing import Any, Dict, List
  import numpy
  import xgboost
  import xgboost.testing
label_desc: Use image node_id 6 for calling a global function with example usage: check_get_quantile_cut(tree_method) without return types