Allow control over visibility of sidebar through plugin SDK

We have some plugins in the sidebar of a record that are important to be visible on some conditions.

We would love to have the ability to show/hide the sidebar on records through plugin contexts (also of non-sidebar-plugins)