Check if table exists.