public function hasVariableWithName(string $name) : bool { return !empty($this->variable_map[$name]); }