executeOnResults({ regularValidationResult, prevShownValidationResult }) {
    const errorOrWarning = /** @param {Validator} v */ v =>
      v.type === 'error' || v.type === 'warning';
    const hasErrorOrWarning = !!regularValidationResult.filter(errorOrWarning).length;
    const hasShownErrorOrWarning = !!prevShownValidationResult.filter(errorOrWarning).length;

    return !hasErrorOrWarning && hasShownErrorOrWarning;
  }
@param {Object} context
@param {Validator[]} context.regularValidationResult
@param {Validator[]} context.prevValidationResult
@param {Validator[]} context.prevShownValidationResult
@returns {boolean}