code: def check_size_image(
      image_metadata,
      original_width_min_cutoff,
      original_width_max_cutoff,
      original_height_min_cutoff,
      original_height_max_cutoff,
      rendered_width_min_cutoff,
      rendered_width_max_cutoff,
      rendered_height_min_cutoff,
      rendered_height_max_cutoff,
      aspect_ratio_max_cutoff,
  ):
      if not (
          original_width_min_cutoff
          <= image_metadata["original_width"]
          <= original_width_max_cutoff
      ):
          return False
      if not (
          original_height_min_cutoff
          <= image_metadata["original_height"]
          <= original_height_max_cutoff
      ):
          return False
      if "rendered_width" in image_metadata:
          if not (
              rendered_width_min_cutoff
              <= image_metadata["rendered_width"]
              <= rendered_width_max_cutoff
          ):
              return False
      if "rendered_height" in image_metadata:
          if not (
              rendered_height_min_cutoff
              <= image_metadata["rendered_height"]
              <= rendered_height_max_cutoff
          ):
              return False
      if not (
          1 / aspect_ratio_max_cutoff
          <= image_metadata["original_width"]
          / image_metadata["original_height"]
          <= aspect_ratio_max_cutoff
      ):
          return False
      return True
  
imports: import json
  import re
  from collections import Counter
  import fasttext
  import kenlm
  import numpy
  import sentencepiece
  from obelics.utils import SPECIAL_CHARACTERS
label_desc: Use image node_id 2 for calling the FilteringFunctions obj's underlying member method code with example usage: obj.check_size_image(image_metadata, original_width_min_cutoff, original_width_max_cutoff, original_height_min_cutoff, original_height_max_cutoff, rendered_width_min_cutoff, rendered_width_max_cutoff, rendered_height_min_cutoff, rendered_height_max_cutoff, aspect_ratio_max_cutoff) and returns: True, False, False, False, False, False