Updating check for displaying page header.