Create method for determining whether one DOM element is the ancestor of another.