Add isDone property and done() method to be able to know if a request
had been made.