code: def test_sampling_beyond_bounds_no_nodata_masked():
      """Masked sampling beyond bounds yields an entirely masked array."""
      with rasterio.open("tests/data/RGB2.byte.tif") as src:
          data = next(src.sample([(0.0, 0.0)], masked=True))
          assert all(data.mask == True)
  
file_path: rasterio/tests/test_sampling.py
imports: import numpy
  import rasterio
label_desc: Use image node_id 5 for calling a global function with example usage: test_sampling_beyond_bounds_no_nodata_masked() without return types