public function hasGlobalVariableWithName(string $name) : bool { assert($this->hasParentScope(), "No global scope available. This should not happen."); return $this->getParentScope()->hasGlobalVariableWithName($name); }