function some(callable $closure) {
        foreach($this->data as $key => $val) {
            if($closure($val, $key)) {
                return true;
            }
        }
        
        return false;
    }
function some(callable $closure) {
        foreach($this->data as $key => $val) {
            if($closure($val, $key)) {
                return true;
            }
        }
        
        return false;
    }
function some ( callable $ closure ) { foreach ( $ this -> data as $ key => $ val ) { if ( $ closure ( $ val , $ key ) ) { return true ; } } return false ; }
Returns true if at least one element passes the given truth test.
@param callable $closure  Callback specification: `function ($value, $key): bool`
@return bool
Returns true if at least one element passes the given truth test .