NIT: simpler to just say `if data['lang'] and data...`