def _is_technical_note(p):
    """
    Return True if the text in a paragraph element is surrounded by round () or
    angle <> brackets.
    """
    text = p.text.strip()
    if text.startswith('(') and text.endswith(')'):
        return True
    if text.startswith('<') and text.endswith('>'):
        return True
    return False