code: def is_blacklisted(name, mode):
      """Returns True if driver `name` and `mode` are blacklisted."""
      return mode in blacklist.get(name, ())
  
imports: import os
  from rasterio._base import _raster_driver_extensions
  from rasterio.env import ensure_env
label_desc: Use image node_id 3 for calling a global function with example usage: is_blacklisted(name, mode) and returns: unknown