`Array.prototype.some` for objects