code: def test_boolean_list_multi(multiindex):
      """Test boolean output on a MultiIndex"""
      mapp = [True, True, True, True, False, False, False, False]
      expected = multiindex.select_columns(mapp, "foo")
      actual = multiindex.loc(axis=1)["bar":"foo"]
      assert_frame_equal(expected, actual)
  
imports: import datetime
  import re
  from itertools import product
  import numpy
  import pandas
  import pytest
  from pandas.api.types import is_numeric_dtype
  from pandas.testing import assert_frame_equal
  from janitor.functions.utils import DropLabel, get_columns, patterns
label_desc: Use image node_id 37 for calling a global function with example usage: test_boolean_list_multi(multiindex) without return types