getEnableContentCache() public method

public getEnableContentCache ( ) : boolean
return boolean
 /**
  * Add a tag to the current cache segment
  *
  * During TS rendering the method can be used to add tag dynamicaly for the current cache segment.
  *
  * @param string $key
  * @param string $value
  * @return void
  * @api
  */
 public function addCacheTag($key, $value)
 {
     if ($this->runtimeContentCache->getEnableContentCache() === false) {
         return;
     }
     $this->runtimeContentCache->addTag($key, $value);
 }