is_html_label

is_html_label(value: str)

Whether value is an HTML-like label: written between < and >.

>>> is_html_label("<C<SUP>4</SUP>>"), is_html_label("C4"), is_html_label("<")
(True, False, False)