def _is_announcement_line(line: str) -> bool:
    """
    Is a line of text considered an announcement line?

    Examples:

    HAPPY BIRTHDAY <person>!!!!
    NO CLASSES <>

    :param line: line to check
    :return: if the line matches an expected pattern
    """
    return bool(line) and (line.upper() == line or line.endswith('!!'))