code: def test_has_any(sample, types, expected):
      assert has_any(sample, *types) is expected
  
file_path: vision/test/test_transforms_v2_utils.py
imports: import PIL.Image
  import pytest
  import torch
  import torchvision.transforms.v2._utils
  from common_utils import DEFAULT_SIZE, make_bounding_boxes, make_detection_masks, make_image
  from torchvision import tv_tensors
  from torchvision.transforms.v2._utils import has_all, has_any
  from torchvision.transforms.v2.functional import to_pil_image
label_desc: Use image node_id 1 for calling a global function with example usage: test_has_any(sample, types, expected) without return types