OptionalrequiresReturns whether a window reload is required when workspace trust changes to newTrust.
Called before reloading on trust change to avoid unnecessary reloads when no
trust-restricted items are actually affected.
If not implemented, the contribution is assumed not to require a reload.
Returns the restrictions currently active due to workspace trust. Called when building the restricted mode status bar tooltip.