public function hasTemplateOptions()
    {
        if ($this->templateOptionsStructure()) {
            return (bool)count(
                iterator_to_array(
                    $this->templateOptionsStructure()->properties()
                )
            );
        }

        return false;
    }