code: def test_missing_equality_on_bools() -> None:
      df = pl.DataFrame(
          {
              "a": [True, None, False],
          }
      )
  
      assert df.select(pl.col("a").ne_missing(True))["a"].to_list() == [
          False,
          True,
          True,
      ]
      assert df.select(pl.col("a").ne_missing(False))[
          "a"
      ].to_list() == [
          True,
          True,
          False,
      ]
  
imports: from __future__ import annotations
  import math
  from contextlib import nullcontext
  from typing import Any, ContextManager
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_missing_equality_on_bools() without return types