OC-9609 [Refactoring: common approach for Non-DumbAware mode in folding] +review CR-OC-1561