void printHeader(String headerStyle) { if (headerStyle == null || headerStyle == "") { // No header return; } // ... print the header }