function _hasAncestorWithID(node, id) {
        var ancestor = node.parent;
        while (ancestor && ancestor.tagID !== id) {
            ancestor = ancestor.parent;
        }
        return !!ancestor;
    }
@private
Returns true if the given node has an ancestor whose tagID is the given ID.
@param {Object} node A node from an HTMLSimpleDOM structure.
@param {number} id The ID of the tag to check for.
@return {boolean} true if the node has an ancestor with that ID.