public static function some(array $set, Closure $callback) {
        foreach ($set as $value) {
            if ($callback($value, $value)) {
                return true;
            }
        }

        return false;
    }
public static function some(array $set, Closure $callback) {
        foreach ($set as $value) {
            if ($callback($value, $value)) {
                return true;
            }
        }

        return false;
    }
public static function some ( array $ set , Closure $ callback ) { foreach ( $ set as $ value ) { if ( $ callback ( $ value , $ value ) ) { return true ; } } return false ; }
Returns true if at least one element in the array satisfies the provided testing function.

@param array $set
@param \Closure $callback
@return bool
Returns true if at least one element in the array satisfies the provided testing function .