isSuccess method

bool isSuccess()

Implementation

bool isSuccess() {
  return code == 1;
}