const isEnabled =! Object.Keys (erros). Alguns (x => erros [x]);
const isEnabled = !Object.keys(errors).some(x => errors[x]);
Evil Elephant
const isEnabled = !Object.keys(errors).some(x => errors[x]);