public function accept() { $current = $this->current(); return $current instanceof \ArrayAccess && $this->criteria->check($current); }