Table t = m_root.getTable(table);
Table t = getRoot().getTable(table);
    boolean isConstrained(String table, Collection columns) {        Table t = m_root.getTable(table);        if (t == null) { return false; }        outer: for (Iterator it = t.getConstraints().iterator();                    it.hasNext(); ) {            Object o = it.next();            if (o instanceof UniqueKey) {                UniqueKey key = (UniqueKey) o;                Column[] cols = key.getColumns();                for (int i = 0; i < cols.length; i++) {                    if (!columns.contains(cols[i].getName())) {                        continue outer;                    }                }                return true;            }        }        return false;    }