code: def has_pyopengl():
      try:
          from OpenGL import GL  # noqa, analysis:ignore
      except ImportError:
          return False
      else:
          return True
  
imports: from __future__ import print_function
  import numpy
  import sys
  import os
  import inspect
  import gc
  import pytest
  import functools
  from packaging.version import Version
  from ..util.check_environment import has_backend
label_desc: Use image node_id 13 for calling a global function with example usage: has_pyopengl() and returns: True, False