code: def check_keypoints(
      keypoints: Sequence[Sequence], rows: int, cols: int
  ) -> None:
      """Check if keypoints boundaries are less than image shapes"""
      for kp in keypoints:
          check_keypoint(kp, rows, cols)
  
imports: from __future__ import division
  import math
  import typing
  import warnings
  from typing import Any, Dict, List, Optional, Sequence, Tuple
  from .utils import DataProcessor, Params
label_desc: Use image node_id 3 for calling a global function with example usage: check_keypoints(keypoints, rows, cols) without return types