code: def raise_if_quarto_is_not_available(min_version=QUARTO_MIN_VERSION):
      """Raise with an informative error message if quarto is not available"""
      version = quarto_version()
      if version == "N/A":
          raise QuartoError(
              f"The Quarto Markdown format requires 'quarto>={min_version}', "
              "but quarto was not found"
          )
  
      if parse(version) < parse(min_version):
          raise QuartoError(
              f"The Quarto Markdown format requires 'quarto>={min_version}', "
              f"but quarto version {version} was not found"
          )
  
      return version
  
file_path: jupytext/src/jupytext/quarto.py
imports: import os
  import subprocess
  import tempfile
  from nbformat import reads
  from nbformat import writes
  from packaging.version import parse
label_desc: Use image node_id 3 for calling a global function with example usage: raise_if_quarto_is_not_available(min_version) and returns: version