import re


def need_format(line: str) -> bool:
    """
    Return true if line as a title declaration followed by content
    """
    return (
        (
            re.search("\t+e_\w*[-'\w]*\W*=", line) is not None
            and re.search("\t+e_\w*[-'\w]*\W*=\W*{[\w\t]*\n", line) is None
            and re.search("\t+e_\w*[-'\w]*\W*=\W*{\W*#", line) is None
        )
        or (
            re.search("\t+k_\w*[-'\w]*\W*=", line) is not None
            and re.search("\t+k_\w*[-'\w]*\W*=\W*{[\w\t]*\n", line) is None
            and re.search("\t+k_\w*[-'\w]*\W*=\W*{\W*#", line) is None
        )
        or (
            re.search("\t+d_\w*[-'\w]*\W*=", line) is not None
            and re.search("\t+d_\w*[-'\w]*\W*=\W*{[\w\t]*\n", line) is None
            and re.search("\t+d_\w*[-'\w]*\W*=\W*{\W*#", line) is None
        )
        or (
            re.search("\t+c_\w*[-'\w]*\W*=", line) is not None
            and re.search("\t+c_\w*[-'\w]*\W*=\W*{[\w\t]*\n", line) is None
            and re.search("\t+c_\w*[-'\w]*\W*=\W*{\W*#", line) is None
        )
    )