code: def test_getitem_bool_index_single(box):
      # GH#22533
      ind1 = box([True])
      idx = MultiIndex.from_tuples([(10, 1)])
      tm.assert_index_equal(idx[ind1], idx)
  
      ind2 = box([False])
      expected = MultiIndex(
          levels=[
              np.array([], dtype=np.int64),
              np.array([], dtype=np.int64),
          ],
          codes=[[], []],
      )
      tm.assert_index_equal(idx[ind2], expected)
  
imports: from datetime import timedelta
  import re
  import numpy
  import pytest
  from pandas._libs import index
  from pandas.errors import InvalidIndexError, PerformanceWarning
  import pandas
  from pandas import Categorical, DataFrame, Index, MultiIndex, date_range
  import pandas._testing
label_desc: Use image node_id 4 for calling a global function with example usage: test_getitem_bool_index_single(box) without return types