Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
is_initialized()
method to the MongoDB
class
This is to ensure that we are calling `MongoDB.close()` only if the client has been properly initialized.
- Loading branch information