Resolves whether a registry / lazy-plugin UI slot button should be rendered.
Two guards, in order:
profileKey
Config.get(profileKey)
false
requiresPlugin
The slot definition carrying the guard fields.
Which guards to apply and how to resolve the config fallback.
true when the button should be built, false when a guard rejects it.
true
Resolves whether a registry / lazy-plugin UI slot button should be rendered.
Two guards, in order:
profileKey— hidden whenConfig.get(profileKey)is explicitlyfalse.requiresPlugin— hidden unless the plugin is loaded OR lazy-available.