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