code: def check_feature(feature):
      """
      Checks if a feature is available.
  
      :param feature: The feature to check for.
      :returns: ``True`` if available, ``False`` if unavailable, ``None`` if unknown.
      :raises ValueError: If the feature is not defined in this version of Pillow.
      """
      if feature not in features:
          msg = f"Unknown feature {feature}"
          raise ValueError(msg)
  
      module, flag, ver = features[feature]
  
      try:
          imported_module = __import__(module, fromlist=["PIL"])
          return getattr(imported_module, flag)
      except ModuleNotFoundError:
          return None
      except ImportError as ex:
          warnings.warn(str(ex))
          return None
  
file_path: pillow/src/PIL/features.py
imports: from __future__ import annotations
  import collections
  import os
  import sys
  import warnings
  import PIL
  from .None import Image
label_desc: Use image node_id 7 for calling a global function with example usage: check_feature(feature) and returns: getattr, None, None