int GL.glIsList(int list)
glIsList returns GL_TRUE if list is the name of a display list and returns GL_FALSE otherwise.
Specifies a potential display-list name.
GL_INVALID_OPERATION is generated if glIsList is executed between the execution of glBegin and the corresponding execution of glEnd .