Revert "issue_1656 - header - reduce cognitive complexity"
Revert "issue_1656 - header - reduce cognitive complexity"

This reverts commit bb7848b20a965f1c3955a61ee2be1be30acb1f0c.

 Revert commit of reducing cognitive complexity because it caused linting error

julianguyen/ifme,cartothemax/ifme,cartothemax/ifme,cartothemax/ifme,julianguyen/ifme,cartothemax/ifme,julianguyen/ifme,julianguyen/ifme