code: def _check_kps_coords(p, size_no_padding):
      x, y = p
      w, h = size_no_padding
      if w >= h:
          pad = (w - h) // 2
          h1 = pad
          h2 = w - pad
          return int((x <= w) and (x >= 0) and (y >= h1) and (y <= h2))
      else:
          pad = (h - w) // 2
          w1 = pad
          w2 = h - pad
          return int((x <= w2) and (x >= w1) and (y >= 0) and (y <= h))
  
imports: import albumentations
  from itertools import chain
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from icevision.tfms.transform import *
  from icevision.tfms.albumentations.albumentations_helpers import get_size_without_padding, get_transform
label_desc: Use image node_id 4 for calling the AlbumentationsKeypointsComponent obj's underlying member method code with example usage: obj._check_kps_coords(p, size_no_padding) and returns: int, int