code: def test_filter_keypoints():
      tfms_kps, w, h, v = (
          [(0, 0), (60, 119), (-30, 40), (100, 300), (30, 100)],
          80,
          120,
          [0, 1, 1, 1, 2],
      )
      img_size = ImgSize(width=w, height=h)
      tra_n = tfms.A.AlbumentationsKeypointsComponent._remove_albu_outside_keypoints(
          tfms_kps, v, img_size
      )
  
      assert len(tfms_kps) == len(tra_n)
      assert tra_n == [
          (0, 0, 0),
          (60, 119, 1),
          (0, 0, 0),
          (0, 0, 0),
          (30, 100, 2),
      ]
  
      tfms_kps, w, h, v = (
          [(0, 0), (79, 119), (-30, 40), (100, 300), (70, 100)],
          120,
          120,
          [0, 1, 1, 1, 2],
      )
      tra_n = tfms.A.AlbumentationsKeypointsComponent._remove_albu_outside_keypoints(
          tfms_kps, v, img_size
      )
  
      assert len(tfms_kps) == len(tra_n)
      assert tra_n == [
          (0, 0, 0),
          (79, 119, 1),
          (0, 0, 0),
          (0, 0, 0),
          (70, 100, 2),
      ]
  
file_path: icevision/tests/transforms/test_albu_transform.py
imports: from icevision.tfms.albumentations.albumentations_adapter import AlbumentationsMasksComponent
  import pytest
  from icevision.all import *
  from albumentations import LongestMaxSize, Normalize, PadIfNeeded
  from icevision.tfms.albumentations.albumentations_helpers import get_size_without_padding, get_transform
label_desc: Use image node_id 9 for calling a global function with example usage: test_filter_keypoints() without return types