hasInstance

open fun hasInstance(): Boolean

Checks if the db singleton has been set.

Note:The DB should be instantiated at system start and checking for the db instance should not be necessary in normal operation.

Return

true when db instance is available

Throws

DB does not exist.