Deprecated isSuccess and isFailure