If the `$add_header` variable default is `[]` the if statement here will not be required.

If you do this also consider a `validate_array` statement to check the value of the variable is as expected