code: def _if_converter_found(app):
      image_converter = getattr(app.config, "image_converter", "")
      try:
          if image_converter:
              # print the image_converter version, to check that the command is available
              subprocess.run(
                  [image_converter, "-version"],
                  capture_output=True,
                  check=False,
              )
              return
      except OSError:  # No such file or directory
          pass
  
      pytest.skip(
          'image_converter "%s" is not available' % image_converter
      )
  
imports: import subprocess
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: _if_converter_found(app) without return types