Move the section visible logic to the format base class. This way format plugins can decide whenever a section is visible or not instead of using format custom settings from core.