src/PageBuilder/Util/Widget.php
public function widgetExist($name)
    {
        $name = strtolower($name);

        return isset($this->dataStore[0][$name]) ? $this->dataStore[0][$name] : false;
    }
public function widgetExist($name)
    {
        $name = strtolower($name);

        return isset($this->dataStore[0][$name]) ? $this->dataStore[0][$name] : false;
    }
public function widgetExist ( $ name ) { $ name = strtolower ( $ name ) ; return isset ( $ this -> dataStore [ 0 ] [ $ name ] ) ? $ this -> dataStore [ 0 ] [ $ name ] : false ; }
Checks if a widget exists

@param $name

@return bool
Checks if a widget exists