code: def _is_transparent(color):
      """Determine transparency from alpha."""
      rgba = colors.to_rgba(color)
      return rgba[3] < 0.5
  
imports: import matplotlib
  from matplotlib import colors
  from matplotlib.backends import backend_agg
  from matplotlib.backends.backend_agg import FigureCanvasAgg
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.figure import Figure
  from IPython.core.interactiveshell import InteractiveShell
  from IPython.core.getipython import get_ipython
  from IPython.core.pylabtools import select_figure_formats
  from IPython.display import display
  from .config import InlineBackend
label_desc: Use image node_id 9 for calling a global function with example usage: _is_transparent(color) and returns: unknown