code: def uses_egl() -> bool:
      """Check if VTK has been compiled with EGL support via OSMesa.
  
      Returns
      -------
      bool
          ``True`` if VTK has been compiled with EGL support via OSMesa,
          otherwise ``False``.
      """
      ren_win_str = str(type(_vtk.vtkRenderWindow()))
      return "EGL" in ren_win_str or "OSOpenGL" in ren_win_str
  
label_desc: Use image node_id 2 for calling a global function with example usage: uses_egl() and returns: unknown