public function hasSubmit(SelectorInterface $selector)
    {
        foreach ($this->buttons as $button) {
            if ($selector->isMatch($button)) {
                return true;
            }
        }

        return false;
    }