only show header when there are more than one url

or the terminal is not interactive (e.g. piped)