Model/ZoneService.php
public function isEmpty($slug, $viewMode)
    {
        $countBlock = $this->countBlock($slug, $viewMode);
        if($countBlock > 0) {
            return false;
        } else {
            return true;
        }

    }
public function isEmpty($slug, $viewMode)
    {
        $countBlock = $this->countBlock($slug, $viewMode);
        if($countBlock > 0) {
            return false;
        } else {
            return true;
        }

    }
//