code: def _length_check_params(obj, columns, name):
      if cudf.api.types.is_list_like(obj):
          if len(obj) != len(columns):
              raise ValueError(
                  f"Length of '{name}' ({len(obj)}) did not match the "
                  f"length of the columns being "
                  f"encoded ({len(columns)})."
              )
  
imports: import itertools
  import warnings
  from collections import abc
  from typing import Dict, Optional
  import cupy
  import numpy
  import pandas
  import cudf
  from cudf._lib.transform import one_hot_encode
  from cudf._lib.types import size_type_dtype
  from cudf._typing import Dtype
  from cudf.api.extensions import no_default
  from cudf.core.column import ColumnBase, as_column, column_empty_like
  from cudf.core.column.categorical import CategoricalColumn
  from cudf.utils.dtypes import min_unsigned_type
label_desc: Use image node_id 13 for calling a global function with example usage: _length_check_params(obj, columns, name) without return types