
*This post is locked for comments
I have the same question (0)Try with this -
function getSectionVisibility(executionContext) {
var formContext = executionContext.getFormContext();
var tabObj = formContext.ui.tabs.get("TabName");
var sectionObj = tabObj.sections.get("SectionName");
var IsSectionVisible = sectionObj.getVisible(); //IsSectionVisible will return true or false if the section visible then true otherwise false
}