We use a *.dll file contain JNI calls. We use System.loadlibrary(...) call to load that dll file. However, at any time the server might restart, trigger the servlet to load the library again. I need a way to check if the library has already been loaded. Is there a way to achieve that?