Used to check if a Result is an Err
Result
Err
Returns true if the result is an Err variant of Result
true
@override bool isErr() => this is Err<T, E>;