def isdone(self):
return (self._persist and self._matches > <NUM_LIT:0>) or self._times <= <NUM_LIT:0><EOL>
Returns ``True`` if the mock has been matched by outgoing HTTP traffic.

Returns:
    bool: ``True`` if the mock was matched succesfully.