check if header is set