src/Charcoal/Cms/TemplateableTrait.php
public function hasTemplateOptions()
    {
        if ($this->templateOptionsStructure()) {
            return (bool)count(
                iterator_to_array(
                    $this->templateOptionsStructure()->properties()
                )
            );
        }

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

        return false;
    }
public function hasTemplateOptions ( ) { if ( $ this -> templateOptionsStructure ( ) ) { return ( bool ) count ( iterator_to_array ( $ this -> templateOptionsStructure ( ) -> properties ( ) ) ) ; } return false ; }
Validate the model has template options properties.

@return boolean
Validate the model has template options properties .