public function hasBodyPlaceholderEmpty()
    {
        if ($this->bodyKey !== null) {
            if (isset($this->stack[$this->bodyKey])) {
                if ($this->stack[$this->bodyKey]->getType() === View::PART_BODY_PLACEHOLDER) {
                    return true;
                }
            }
        }
        return false;
    }