public function isMatch($widget)
    {
        if (method_exists($widget, 'isLabel')) {
            if ($widget->isLabel($this->label)) {
                return true;
            }
        }

        return ($widget->getName() == $this->label);
    }