ENH: Header custom field content validity check added