public function doesSupport($widget)
    {
        if (gettype($widget)!="string") {
            $widget = get_class($widget);            
        }
        return isset($this->themeWidgets()[$widget]);
    }