code: def test_lists_contains(dtype):
      dtype = cudf.dtype(dtype)
      inner_data = np.array([1, 2, 3], dtype=dtype)
  
      data = Series([inner_data])
  
      contained_scalar = inner_data.dtype.type(2)
      not_contained_scalar = inner_data.dtype.type(42)
  
      assert data.list.contains(contained_scalar)[0]
      assert not data.list.contains(not_contained_scalar)[0]
  
file_path: cudf/python/cudf/cudf/tests/test_contains.py
imports: import datetime
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Series
  from cudf.core.index import RangeIndex, as_index
  from cudf.testing._utils import DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 8 for calling a global function with example usage: test_lists_contains(dtype) without return types