Returns true if the manager has errors reported, false otherwise
@return true if errors have been reported, false otherwise
979107
public boolean hasErrors(){
		if(this.messageHandlers.containsKey(E_MessageType.ERROR)){
			return (this.messageHandlers.get(E_MessageType.ERROR).getCount()==0)?false:true;
		}
		return false;
	}
851706
protected boolean report(IsMessageSet messageSet){
		if(messageSet==null){
			return false;
		}

		E_MessageType type = null;
		if(messageSet.isErrorSet()){
			type = E_MessageType.ERROR;
		}
		else if(messageSet.isWarningSet()){
			type = E_MessageType.WARNING;
		}
		else if(messageSet.isInfoSet()){
			type = E_MessageType.INFO;
		}
		else{
			return false;
		}
		if(!this.messageHandlers.containsKey(type)){
			return false;
		}
		MessageTypeHandler handler = this.messageHandlers.get(type);

		String template = messageSet.render();
		handler.handleMessage(template, type, this.max100stg.getInstanceOf("max"), this.appID);
		this.messages.put(template, type);
		return true;
	}
1216333
public boolean hasMETerminated() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "hasMETerminated");
        final boolean hasMETerminated = ((ConversationState) mainConsumer.getConversation().getAttachment()).hasMETerminated();
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "hasMETerminated", hasMETerminated);
        return hasMETerminated;
    }
216005
public boolean containsCheckedExceptions() throws ClassNotFoundException {
        for (ThrownExceptionIterator i = iterator(); i.hasNext();) {
            ObjectType type = i.next();
            if (!Hierarchy.isUncheckedException(type)) {
                return true;
            }
        }
        return false;
    }
1045538
public function isSuccessful(): bool
    {
        $failures = $this->getTotalFailures();
        $errors = $this->getTotalErrors();

        return $failures === 0 && $errors === 0;
    }
1228052
boolean checkValidation() {

        boolean result;
        if (m_changedEntityIds.isEmpty()) {
            result = true;
        } else if (m_saveButton.isEnabled()) {
            result = true;
        } else {
            result = false;
            CmsNotification.get().send(Type.ERROR, m_saveButton.getDisabledReason());
        }
        return result;
    }
324861
def is_error(o):
    """"""
    if hasattr(o, 'error') and hasattr(o, 'error_description') and hasattr(o, 'status'):
        return True
    return False
1025222
public boolean isErrorEnabled()
    {
        if (IS12)
        {
            return getLogger().isEnabledFor(Level.ERROR);
        }
        return getLogger().isEnabledFor(Level.ERROR);
    }
1156311
protected boolean hasNoProblemResources() {

        return 0 == m_model.countResourcesInGroup(
            new CmsPublishDataModel.HasProblems(),
            m_model.getGroups().get(m_groupIndex).getResources());
    }
751187
function reportIsValid(report = {}) {
	return report.valid && report.errors.length === 0 && report.warnings.length === 0;
}
152338
public function hasErrors($error_names = null) {
		if (empty($error_names)) {
			return !empty($this->errors['flag_error_in_fields']) || !empty($this->errors['general']['danger']);
		} else {
			if (!is_array($error_names)) {
				$error_names = [$error_names];
			}
			foreach ($error_names as $v) {
				if (!empty($this->errors['fields'][$v]['danger'])) {
					return true;
				}
			}
			return false;
		}
	}
351482
public function hasErrors() : bool
    {
        if (false === $this->validated) {
            $this->validate();
        }
        return (count($this->validation_errors) > 0);
    }
52779
public function hasError()
    {
        $error = $this->getError();
        if ($error instanceof ErrorList) {
            return $error->has();
        }
        if ($error instanceof Exception) {
            return true;
        }

        return (string) $error !== '';
    }
436063
public boolean checkError() {
        if (out != null) {
            flush();
        }
        if (out instanceof java.io.PrintWriter) {
            PrintWriter pw = (PrintWriter) out;
            return pw.checkError();
        } else if (psOut != null) {
            return psOut.checkError();
        }
        return trouble;
    }
1364572
private boolean shouldReport(JCDiagnostic d) {
        JavaFileObject file = d.getSource();

        if (file == null)
            return true;

        if (!shouldReport(file, d.getIntPosition()))
            return false;

        if (!d.isFlagSet(DiagnosticFlag.SOURCE_LEVEL))
            return true;

        Pair<JavaFileObject, String> coords = new Pair<>(file, d.getCode());
        boolean shouldReport = !recordedSourceLevelErrors.contains(coords);
        if (shouldReport)
            recordedSourceLevelErrors.add(coords);
        return shouldReport;
    }
671069
public boolean hasTranslationErrors() {
        for (final TopicErrorDatabase.ErrorType type : errorTypes) {
            if (TopicErrorDatabase.TRANSLATION_ERROR_TYPES.contains(type)) {
                return true;
            }
        }

        return false;
    }
1048731
public function hasError(): bool
    {
        return isset($this->decodedBody['error']) || isset($this->decodedBody['errors']) || isset($this->decodedBody['field-errors']);
    }