To check whether any @host @-rules are applied to the given element, currently it is required to traverse shadow roots and to ask StyleScopeResolver about each ShadowRoot. It would be a little slow. ElementShadow (or suitable class) should have some flag to cache whether any @host @-rules is applied to shadow host or not.
@host is no longer a thing.