Only print method details header if details are present.