Database :: hasVersions - Has database versions
When versioning mode is enabled and database has at least one major or minor version greater than 0, the function returns true and false otherwise.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.