extracted exists method to Table class
Settings class extends Table