code: def check_conda_version():
      # Avoid issues with glibc (https://github.com/conda/conda-lock/issues/292)
      # or osx (https://github.com/conda/conda-lock/issues/408) virtual package.
      # The glibc one has been fixed in conda 23.1.0 and the osx has been fixed
      # in conda 23.7.0.
      conda_info_output = execute_command(["conda", "info", "--json"])
  
      conda_info = json.loads(conda_info_output)
      conda_version = Version(conda_info["conda_version"])
  
      if Version("22.9.0") < conda_version < Version("23.7"):
          raise RuntimeError(
              f"conda version should be <= 22.9.0 or >= 23.7 got: {conda_version}"
          )
  
imports: import json
  import logging
  import re
  import shlex
  import subprocess
  import sys
  from importlib.metadata import version
  from pathlib import Path
  import click
  from jinja2 import Environment
  from packaging.version import Version
label_desc: Use image node_id 17 for calling a global function with example usage: check_conda_version() without return types