code: def test_is_boolean(dtype, expected):
      dtype = NumpyEADtype(dtype)
      assert dtype._is_boolean is expected
  
imports: import numpy
  import pytest
  from pandas.core.dtypes.dtypes import NumpyEADtype
  import pandas
  import pandas._testing
  from pandas.arrays import NumpyExtensionArray
label_desc: Use image node_id 3 for calling a global function with example usage: test_is_boolean(dtype, expected) without return types