public function isDone()
    {
        return (is_null($this->lastProtoResponse) || is_null($this->lastProtoResponse->getDone()))
            ? false
            : $this->lastProtoResponse->getDone();
    }
public function isDone()
    {
        return (is_null($this->lastProtoResponse) || is_null($this->lastProtoResponse->getDone()))
            ? false
            : $this->lastProtoResponse->getDone();
    }
public function isDone ( ) { return ( is_null ( $ this -> lastProtoResponse ) || is_null ( $ this -> lastProtoResponse -> getDone ( ) ) ) ? false : $ this -> lastProtoResponse -> getDone ( ) ; }
Check whether the operation has completed.

@return bool
Check whether the operation has completed .