def is_valid_language(lang):
    return lang in KNOWN_LANGUAGES
updateEditorGeometry(editor: QStringEdit,
dataset/ETHPy150Open lektor/lektor-archive/lektor/i18n.py/is_valid_language--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/mashups/alias_inspector.py/QListEditItemDelegate.updateEditorGeometry