code: def test_boundless_mask_special():
      """Confirm resolution of special case in issue #1471"""
      with rasterio.open("tests/data/green.tif") as src:
          mask = src.read_masks(
              2, boundless=True, window=Window(-1, -1, 66, 66)
          )
      assert not mask[:, 0].any()
      assert not mask[:, -1].any()
      assert not mask[0, :].any()
      assert not mask[-1, :].any()
  
imports: from affine import Affine
  import shutil
  from hypothesis import example, given
  import hypothesis.strategies
  import numpy
  from numpy.testing import assert_almost_equal
  import pytest
  import rasterio
  from rasterio.io import MemoryFile
  from rasterio.windows import Window
label_desc: Use image node_id 9 for calling a global function with example usage: test_boundless_mask_special() without return types