code: def test_cat_is_in_series(dtype: pl.DataType) -> None:
      s = pl.Series(["a", "b", "c", None], dtype=dtype)
      s2 = pl.Series(["b", "c"], dtype=dtype)
      expected = pl.Series([False, True, True, None])
      assert_series_equal(s.is_in(s2), expected)
  
      s2_str = s2.cast(pl.String)
      assert_series_equal(s.is_in(s2_str), expected)
  
imports: from __future__ import annotations
  from datetime import date
  import pytest
  import polars
  from polars import StringCache
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 19 for calling a global function with example usage: test_cat_is_in_series(dtype) without return types