code: def check(feature):
      """
      :param feature: A module, codec, or feature name.
      :returns:
          ``True`` if the module, codec, or feature is available,
          ``False`` or ``None`` otherwise.
      """
  
      if feature in modules:
          return check_module(feature)
      if feature in codecs:
          return check_codec(feature)
      if feature in features:
          return check_feature(feature)
      warnings.warn(f"Unknown feature '{feature}'.", stacklevel=2)
      return False
  
file_path: pillow-simd/src/PIL/features.py
imports: import collections
  import os
  import sys
  import warnings
  import PIL
  from .None import Image
label_desc: Use image node_id 10 for calling a global function with example usage: check(feature) and returns: False, check_module, check_codec, check_feature