src/HAB/Pica/Record/Helper.php
public static function some (array $sequence, $predicate)
    {
        foreach ($sequence as $element) {
            if (call_user_func($predicate, $element)) {
                return true;
            }
        }
        return false;
    }
public static function some (array $sequence, $predicate)
    {
        foreach ($sequence as $element) {
            if (call_user_func($predicate, $element)) {
                return true;
            }
        }
        return false;
    }
public static function some ( array $ sequence , $ predicate ) { foreach ( $ sequence as $ element ) { if ( call_user_func ( $ predicate , $ element ) ) { return true ; } } return false ; }
Return TRUE if at leat one element of sequence matches predicate.

@todo   Make FALSE and TRUE self-evaluating, maybe

@param  array $sequence Sequence
@param  callback $predicate Predicate
@return boolean TRUE if at least one element matches predicate
Return TRUE if at leat one element of sequence matches predicate .