use native array .some() and .every() if available