code: def skip_if_beartype_not_installed(test_case):
      return unittest.skipIf(
          not beartype_installed(), "beartype is not installed"
      )(test_case)
  
file_path: pytorch/test/onnx/internal/test_beartype.py
imports: import unittest
  from torch.onnx._internal import _beartype
  from torch.testing._internal import common_utils
label_desc: Use image node_id 2 for calling a global function with example usage: skip_if_beartype_not_installed(test_case) and returns: unittest