Filter by last date from structure

Maybe we need a boolean here:

<?php
$items = page('archief')->children()->filter(function($child) {
  $structure = $child->playtime()->toStructure();
  return $structure->filter(function($item) {
    return $item->eventdate()->toDate() > time();
  })->count();
});