code: def filter_boxes_by_area_range(
      boxes: np.ndarray, area_range: Tuple[float, float]
  ) -> np.ndarray:
      """Select boxes whose areas fall in a given range.
  
      Args:
       boxes: a numpy array representing the bounding boxes in the following format
         [LEFT, TOP, RIGHT, BOTTOM, CLASS, CONFIDENCE(Optional)]
       area_range: [lowerbound(inclusive), upperbound(exclusive)] of the box area
  
      Returns:
       filtered_boxes: the filtered bounding Boxes
      """
      return boxes[check_boxes_in_area_range(boxes, area_range), :]
  
imports: from typing import Iterable, Tuple
  import warnings
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: filter_boxes_by_area_range(boxes, area_range) and returns: boxes