Neos\Flow\Mvc\View\AbstractView::canRender PHP Method

canRender() public method

By default we assume that the view implementation can handle all kinds of contexts. Override this method if that is not the case.
public canRender ( ControllerContext $controllerContext ) : boolean
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
return boolean TRUE if the view has something useful to display, otherwise FALSE
    public function canRender(ControllerContext $controllerContext)
    {
        return true;
    }