code: def mark_if_feature_version(
      mark, feature, version_blacklist, reason=None
  ):
      if not features.check(feature):
          return pytest.mark.pil_noop_mark()
      if reason is None:
          reason = f"{feature} is {version_blacklist}"
      version_required = parse_version(version_blacklist)
      version_available = parse_version(features.version(feature))
      if (
          version_available.major == version_required.major
          and version_available.minor == version_required.minor
      ):
          return mark(reason=reason)
      return pytest.mark.pil_noop_mark()
  
imports: import logging
  import os
  import shutil
  import sys
  import sysconfig
  import tempfile
  from io import BytesIO
  import pytest
  from packaging.version import parse
  from PIL import Image, ImageMath, features
label_desc: Use image node_id 13 for calling a global function with example usage: mark_if_feature_version(mark, feature, version_blacklist, reason) and returns: pytest, pytest, mark