class_docstr: Namespace for list related methods.
class_docstr_tok: ["Namespace","for","list","related","methods","."]
docstr: Check if sublists contain the given item.
  
  Parameters
  ----------
  item
      Item that will be checked for membership
  
  Returns
  -------
  Series
      Series of data type :class:`Boolean`.
docstr_tok: ["Check","if","sublists","contain","the","given","item",".","Parameters","--","--","--","--","--","item","Item","that","will","be","checked","for","membership","Returns","--","--","--","-","Series","Series","of","data","type",":","class",":","`","Boolean","`","."]
code: def contains(
      self, item: float | str | bool | int | date | datetime
  ) -> Series:
      """
      Check if sublists contain the given item.
  
      Parameters
      ----------
      item
          Item that will be checked for membership
  
      Returns
      -------
      Series
          Series of data type :class:`Boolean`.
  
      """
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Callable, Sequence
  from polars import functions
  from polars.series.utils import expr_dispatch
  from polars.utils._wrap import wrap_s
  from polars.utils.deprecation import deprecate_renamed_function, deprecate_renamed_parameter
label_desc: Use image node_id 21 for calling the ListNameSpace obj's underlying member method code with example usage: obj.contains(item) without return types