public boolean isError() {
    return this == DB_CHECK_ERROR;
  }
@return a boolean indicating that the result is error
ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckResult.java