def load_custom_aliases(db, path):
    data = path.open(encoding='utf-8')
    for line in data:
        typ, datalang, subtag, name = line.rstrip().split(',', 3)
        db.add_name(
            table=typ,
            subtag=subtag,
            datalang=datalang,
            name=name,
            order=1000
        )
True when the cursor is at the end of the text.
dataset/ETHPy150Open LuminosoInsight/langcodes/langcodes/load_subtags.py/load_custom_aliases--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.is_cursor_at_the_end