fun hasError(): Boolean
.orbit.shared.ErrorProto error = 1;
Return Boolean: Whether the error field is set.