This returns true or false, depending on whether or not headers have already been sent to the client.