in helper/src/components/common.js [13:15]
export function hasError(array, field) { return array.findIndex(e => e.field === field) >= 0 }