bool = gl.IsList(list)
gl.IsList()
returns #GL_TRUE
if list is the name of a display list and returns #GL_FALSE
if it is not,
or if an error occurs.
A name returned by gl.GenLists(), but not yet associated with a display list by calling gl.NewList(), is not the name of a display list.
Please consult an OpenGL reference manual for more information.
#GL_TRUE
or #GL_FALSE
#GL_INVALID_OPERATION
is generated if gl.IsList()
is executed between the execution of gl.Begin() and the corresponding execution of gl.End().