code: def skipIfFormatNotSupported(fmt):
      fmts = []
      if is_module_available("soundfile"):
          import soundfile
  
          fmts = soundfile.available_formats()
          return skipIf(
              fmt not in fmts, f'"{fmt}" is not supported by soundfile'
          )
      return skipIf(True, '"soundfile" not available.')
  
file_path: audio/test/torchaudio_unittest/backend/soundfile/common.py
imports: import itertools
  from unittest import skipIf
  from parameterized import parameterized
  from torchaudio._internal.module_utils import is_module_available
label_desc: Use image node_id 3 for calling a global function with example usage: skipIfFormatNotSupported(fmt) and returns: skipIf, skipIf