docstr: Creates a column of bool values indicating whether the specified scalar
  is an element of each row of a list column.
  
  Parameters
  ----------
  search_key : scalar
      element being searched for in each row of the list column
  
  Returns
  -------
  Column
  
  Examples
  --------
  >>> s = cudf.Series([[1, 2, 3], [3, 4, 5], [4, 5, 6]])
  >>> ds = dask_cudf.from_cudf(s, 2)
  >>> ds.list.contains(4).compute()
  Series([False, True, True])
  dtype: bool
docstr_tok: ["Creates","a","column","of","bool","values","indicating","whether","the","specified","scalar","is","an","element","of","each","row","of","a","list","column",".","Parameters","--","--","--","--","--","search_key",":","scalar","element","being","searched","for","in","each","row","of","the","list","column","Returns","--","--","--","-","Column","Examples","--","--","--","--",">",">",">","s","=","cudf.Series","(","[","[","1",",","2",",","3","]",",","[","3",",","4",",","5","]",",","[","4",",","5",",","6","]","]",")",">",">",">","ds","=","dask_cudf.from_cudf","(","s",",","2",")",">",">",">","ds.list.contains","(","4",")",".compute","(",")","Series","(","[","False",",","True",",","True","]",")","dtype",":","bool"]
code: def contains(self, search_key):
      """
      Creates a column of bool values indicating whether the specified scalar
      is an element of each row of a list column.
  
      Parameters
      ----------
      search_key : scalar
          element being searched for in each row of the list column
  
      Returns
      -------
      Column
  
      Examples
      --------
      >>> s = cudf.Series([[1, 2, 3], [3, 4, 5], [4, 5, 6]])
      >>> ds = dask_cudf.from_cudf(s, 2)
      >>> ds.list.contains(4).compute()
      Series([False, True, True])
      dtype: bool
      """
      return self.d_series.map_partitions(
          lambda s: s.list.contains(search_key),
          meta=self.d_series._meta,
      )
  
file_path: cudf/python/dask_cudf/dask_cudf/accessors.py
label_desc: Use image node_id 3 for calling the ListMethods obj's underlying member method code with example usage: obj.contains(search_key) and returns: self