function isConfirmed(uint transactionId)
        public
        constant
        returns (bool)
    {
        uint count;
        for (uint i=0; i<owners.length; i++) {
            if (confirmations[transactionId][owners[i]])
                count += 1;
            if (count == required)
                return true;
        }
    }