Checks whether the
dbLocked
of this instance is set.
false if the dbLocked is null. Otherwise, it returns true.