Export dbIsValid. Closes #51