def check_bbox()

in sampling.py [0:0]


    def check_bbox(x_start: int, y_start: int, bbox, size: int = 512) -> bool:
        return (self._left > x_start and
                self._right < x_start + size and
                self._top > y_start and
                self._bottom < y_start + size)