+ `headersSent` function