added isEmpty() method to class DBTable