@Override
    public boolean checkTable(String table) {
        DatabaseMetaData dbm = null;
        try {
            dbm = this.getConnection().getMetaData();
            ResultSet tables = dbm.getTables(null, null, table, null);
            if (tables.next())
                return true;
            else
                return false;
        } catch (SQLException e) {
            this.writeError("Failed to hasPerm if table \"" + table + "\" exists: " + e.getMessage(), true);
            return false;
        }
    }