Use Array#every and Array#some to compare lists using closures