Set the header attribute of the COPY FROM SQL command based on the presence of the custom header