function showBlockHeader(block) {
            if (
              block?.hasAttribute('collapsed') && 
              block.storeAttributes?.header
            ) {
              showHeaderContent(block.storeAttributes.header);
              return true;
            } 
            return false;
          }
// toggles a header from one of its collapsed blocks
toggles a header from one of its collapsed blocks
toggles a header from one of its collapsed blocks
function showBlockHeader(block) {
            if (
              block?.hasAttribute('collapsed') && 
              block.storeAttributes?.header
            ) {
              showHeaderContent(block.storeAttributes.header);
              return true;
            } 
            return false;
          }
function showBlockHeader ( block ) { if ( block ?. hasAttribute ( 'collapsed' ) && block . storeAttributes ?. header ) { showHeaderContent ( block . storeAttributes . header ) ; return true ; } return false ; }
toggles a header from one of its collapsed blocks
toggles a header from one of its collapsed blocks