src/Cms/HasTemplateOptionsTrait.php
protected function hasTemplateOption($key)
    {
        if ($this->templateOptions === null) {
            $this->templateOptions = $this->buildTemplateOptions();
        }

        return isset($this->templateOptions[$key]);
    }
protected function hasTemplateOption($key)
    {
        if ($this->templateOptions === null) {
            $this->templateOptions = $this->buildTemplateOptions();
        }

        return isset($this->templateOptions[$key]);
    }
protected function hasTemplateOption ( $ key ) { if ( $ this -> templateOptions === null ) { $ this -> templateOptions = $ this -> buildTemplateOptions ( ) ; } return isset ( $ this -> templateOptions [ $ key ] ) ; }
Determine if the template option exists.

@param  string $key Data key to check.
@return boolean
Determine if the template option exists .