code: def _get_shuffle_method(shuffle_method):
      # Utility to set the shuffle_method-kwarg default
      # and to validate user-specified options
      shuffle_method = shuffle_method or get_default_shuffle_method()
      if shuffle_method not in _SHUFFLE_SUPPORT:
          raise ValueError(
              "Dask-cudf only supports the following shuffle "
              f"methods: {_SHUFFLE_SUPPORT}. Got shuffle_method={shuffle_method}"
          )
  
      return shuffle_method
  
imports: import warnings
  from collections.abc import Iterator
  from functools import wraps
  import cupy
  import numpy
  import tlz
  from dask import config
  from dask.base import tokenize
  from dask.dataframe import methods
  from dask.dataframe.core import DataFrame, Index, Series
  from dask.dataframe.shuffle import rearrange_by_column
  from dask.highlevelgraph import HighLevelGraph
  from dask.utils import M
  import cudf
  from cudf.api.types import is_categorical_dtype
  from cudf.utils.nvtx_annotation import _dask_cudf_nvtx_annotate
label_desc: Use image node_id 10 for calling a global function with example usage: _get_shuffle_method(shuffle_method) and returns: shuffle_method