src/Context/DefaultRenderContext.php
/**
     * Checks, if a sub template with given name exists
     *
     * @param $template
     * @return bool
     */
Checks, if a sub template with given name exists
@param $template
@return bool
Checks if a sub template with given name exists @param $template @return bool
public function hasSubTemplate($template) {
        if($templates = $this->getRenderInfo()->get( RenderInfoInterface::INFO_SUB_TEMPLATES )) {
            return isset($templates[$template]);
        }
        return false;
    }
public function hasSubTemplate ( $ template ) { if ( $ templates = $ this -> getRenderInfo ( ) -> get ( RenderInfoInterface :: INFO_SUB_TEMPLATES ) ) { return isset ( $ templates [ $ template ] ) ; } return false ; }
Checks, if a sub template with given name exists
 @param $template
 @return bool
Checks if a sub template with given name exists @param $template @return bool