I'm trying to figure out a way of working out if a header has already been printed.
The reason I'm trying to do this, is that in some functions - we use them in more than one place (and some of them needs the header printed out, while others don't - depending on what functions were called before it)