code: def basic_image():
      """
      A 10x10 array with a square (3x3) feature
      Equivalent to results of rasterizing basic_geometry with all_touched=True.
      Borrowed from rasterio/tests/conftest.py
  
      Returns
      -------
      numpy ndarray
      """
      image = np.zeros((10, 10), dtype=np.uint8)
      image[2:5, 2:5] = 1
      return image
  
imports: import os
  import numpy
  import pytest
  from affine import Affine
  import rasterio
  import geopandas
  from shapely.geometry import Polygon
label_desc: Use image node_id 1 for calling a global function with example usage: basic_image() and returns: image