code: def check_skip(data, op_name):
      if isinstance(data.dtype, pd.BooleanDtype) and "sub" in op_name:
          pytest.skip("subtract not implemented for boolean")
  
file_path: pandas/pandas/tests/arrays/masked/test_arithmetic.py
imports: from __future__ import annotations
  from typing import Any
  import numpy
  import pytest
  import pandas
  import pandas._testing
label_desc: Use image node_id 2 for calling a global function with example usage: check_skip(data, op_name) without return types