internal bool ContainsVisibleResource(int resourceId) { return StateStore.ContainsVisibleResource(resourceId); }