let's use `if('opengl' in sys.capabilities)`