pub fn element_is_outside_of_scope<E>(
    selector: &Selector<E::Impl>,
    element: E,
    root: OpaqueElement,
    context: &mut MatchingContext<'_, E::Impl>,
    root_may_be_shadow_host: bool,
) -> boolwhere
    E: TElement,Expand description
Given the scope-end selector, check if the element is outside of the scope. That is, check if any ancestor to the root matches the scope-end selector.