code: def is_pandoc_available(min_version="2.7.2", max_version=None):
      """Is Pandoc>=2.7.2 available?"""
      try:
          raise_if_pandoc_is_not_available(
              min_version=min_version, max_version=max_version
          )
          return True
      except PandocError:
          return False
  
file_path: jupytext/src/jupytext/pandoc.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 2 for calling a global function with example usage: is_pandoc_available(min_version, max_version) and returns: True, False