private function hasData(PresentationModel $presentationModel): bool
    {
        foreach ($presentationModel->getVariables() as $value) {
            if (!empty($value)) {
                return true;
            }
        }

        return false;
    }