(mongodb >=1.13.0)
MongoDB\Driver\Session::isDirty — Returns whether the session has been marked as dirty
Returns whether the session has been marked as dirty (i.e. it has been used with a command that encountered a network error).
This function has no parameters.
Returns whether the session has been marked as dirty.