public boolean validateEachField(Object object, ValidatorActivity activityMessage) {
        if (object == null) {
            WorkflowLogger.persist(activityMessage, LoggerTags.ERROR);
            addErrorMessage(activityMessage.getActivityMessage(), (String[]) null);
            return false;
        }
        return true;
    }
Checks for the required mandatory fields.
@param loadBalancer
workflow-controller/controller-service/src/main/java/io/hyscale/controller/validator/impl/LoadBalancerValidator.java