+ public function isComplete() {
+ if (count($this->tournament->participants) == 0) return false;
+ if (count($this->results) == 0) return false;
+ foreach ($this->tournament->getRunners() as $participant) {
+ $result = $participant->findResult($this);
+ if (!$result || !$result->has_finished) return false;
+ }
+ return true;
+ }
+