Neos\Neos\Domain\Service\ContentContext::isLive PHP Method

isLive() public method

Returns TRUE if current context is live workspace, FALSE otherwise
public isLive ( ) : boolean
return boolean
    public function isLive()
    {
        return $this->getWorkspace()->getBaseWorkspace() === null;
    }