public static function some(array $arr, \Closure $predicate){
		
		foreach($arr as $k => $v){
			if($predicate($v, $k)){
				return true;
			}
		}
		
		return false;
		
	}
public static function some(array $arr, \Closure $predicate){
		
		foreach($arr as $k => $v){
			if($predicate($v, $k)){
				return true;
			}
		}
		
		return false;
		
	}
public static function some ( array $ arr , \ Closure $ predicate ) { foreach ( $ arr as $ k => $ v ) { if ( $ predicate ( $ v , $ k ) ) { return true ; } } return false ; }
Checks if any element passes a predicate function

@param array $arr
@param \Closure $predicate
@return bool
Checks if any element passes a predicate function