fruitDb: better way to check the db is empty