private function hasButtonTypeClass(Html $el)
 {
     $rendered = $el->startTag();
     return preg_match('~class="[^"]*\\bbtn-[a-z]+\\b~', $rendered);
 }