function isAncestorOfActiveElement(ancestor) {
    return isAncestor(getActiveElement(), ancestor);
}
Returns true if the focused window active element is contained in
`ancestor`. Falls back to the main window if no window has focus.