code: def checkOpenGrid(self, thumbnail_min: Union[int, None]) -> bool:
      if isinstance(thumbnail_min, int):
          self.thumbnail_min = thumbnail_min
      if (
          max(self.geoinfo.xsize, self.geoinfo.ysize)
          <= self.thumbnail_min
      ):
          self.open_grid = False
      else:
          self.open_grid = True
      return self.open_grid
  
imports: import os.path
  import numpy
  import cv2
  import math
  from typing import List, Dict, Tuple, Union
  from collections import defaultdict
  from easydict import EasyDict
  from .imgtools import sample_norm, two_percentLinear, get_thumbnail
label_desc: Use image node_id 4 for calling the Raster obj's underlying member method code with example usage: obj.checkOpenGrid(thumbnail_min) and returns: self