title: How can I check if SQLite database is open in C/C++
body: <p>I want to be able to check if a given SQLite database is open or not. How can I do this in C/C++? I looked around the SQLite C/C++ API and did not see something apparent for this purpose.</p>