First of all, Openggl is not a library, it's callled "specification". Libraies like GLEW (OpenGl Extension Wrangler) just specify the functions you need to control ypur gpu. At that point, it's the graphics card manifacturer's job to implement those functions. One way you could verify if you are able to run Opengl is by creating a simple program with it. In C++ for example, you could write a s imple "hello world" program, using glfw(winidoeing Api) and Glew. In the main.cpp file ypu should set the OpenGl context version to 4.0 and see if it runs. You can also check what the currrnt version of OpenGl is, by calling 'glGetString(GL_VERSION);' Now, this might not be the ideal way to do it, I'm sure there is an easier way to check for OGL drivers, so i wouod really appreciate if someone corrected me in the comments section :)
I also would like to leave some useful resources here