public function exists($identifier)
    {
        if (in_array($identifier, self::$reservedVariableNames, true)) {
            return true;
        }

        return array_key_exists($identifier, $this->variables);
    }