Unfortunately no. The `shadowRoot` property is the ShadowRoot that is being rendered inside of the element, not the one the element is inside of.

I'm not aware of any more efficient way to determine in which ShadowRoot (if any) a given element is. But I also haven't investigated deeply.