Add method for checking table existence