hasErrors method

bool hasErrors()

Quick check if the stack contains any errors.

Implementation

bool hasErrors() {
  if (errors() == null) {
    return false;
  } else {
    return true;
  }
}