code: def convert_bboxes_to_albumentations(
      bboxes: Sequence[BoxType],
      source_format,
      rows,
      cols,
      check_validity=False,
  ) -> List[BoxType]:
      """Convert a list bounding boxes from a format specified in `source_format` to the format used by albumentations"""
      return [
          convert_bbox_to_albumentations(
              bbox, source_format, rows, cols, check_validity
          )
          for bbox in bboxes
      ]
  
imports: from __future__ import division
  from typing import Any, Dict, List, Optional, Sequence, Tuple, TypeVar, cast
  import numpy
  from .transforms_interface import BoxInternalType, BoxType
  from .utils import DataProcessor, Params
label_desc: Use image node_id 9 for calling a global function with example usage: convert_bboxes_to_albumentations(bboxes, source_format, rows, cols, check_validity) and returns: unknown