code: def test_window_function_implode_contention_8536() -> None:
      df = pl.DataFrame(
          data={
              "policy": [
                  "a",
                  "b",
                  "c",
                  "c",
                  "d",
                  "d",
                  "d",
                  "d",
                  "e",
                  "e",
              ],
              "memo": ["LE", "RM", "", "", "", "LE", "", "", "", "RM"],
          },
          schema={"policy": pl.String, "memo": pl.String},
      )
  
      assert df.select(
          [
              (
                  pl.lit("LE").is_in(
                      pl.col("memo").over(
                          "policy", mapping_strategy="join"
                      )
                  )
              )
              | (
                  pl.lit("RM").is_in(
                      pl.col("memo").over(
                          "policy", mapping_strategy="join"
                      )
                  )
              )
          ]
      ).to_series().to_list() == [
          True,
          True,
          False,
          False,
          True,
          True,
          True,
          True,
          True,
          True,
      ]
  
imports: from __future__ import annotations
  import numpy
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 15 for calling a global function with example usage: test_window_function_implode_contention_8536() without return types