src/Tomahawk/Templating/Helper/BlocksHelper.php
public function output($name, $default = false)
    {
        if (isset($this->blocks[$name])) {

            echo $this->blocks[$name];

            return true;
        }

        if (isset($this->blockDefaults[$name])) {

            echo $this->blockDefaults[$name];

            return true;
        }

        if (false !== $default) {
            echo $default;

            return true;
        }

        return false;
    }
public function output($name, $default = false)
    {
        if (isset($this->blocks[$name])) {

            echo $this->blocks[$name];

            return true;
        }

        if (isset($this->blockDefaults[$name])) {

            echo $this->blockDefaults[$name];

            return true;
        }

        if (false !== $default) {
            echo $default;

            return true;
        }

        return false;
    }
Outputs a block.

@param string $name The block name

@param bool $default
@return Boolean true if the block is defined or if a default content has been provided, false otherwise

@api