public function any(callable $function = null) { foreach ($this->mapIterator($function) as $value) { if ($value) { return true; } } return false; }