code: def test_boolean_format():
      # gh 46384: booleans do not collapse to integer representation on display
      df = DataFrame([[True, False]])
      ctx = df.style._translate(True, True)
      assert ctx["body"][0][1]["display_value"] is True
      assert ctx["body"][0][2]["display_value"] is False
  
imports: import numpy
  import pytest
  from pandas import NA, DataFrame, IndexSlice, MultiIndex, NaT, Timestamp, option_context
  from pandas.io.formats.style import Styler
  from pandas.io.formats.style_render import _str_escape
label_desc: Use image node_id 32 for calling a global function with example usage: test_boolean_format() without return types