public function hasVariable($variableName) { return array_key_exists($variableName, $this->variables); }