def VerifyType(arg, argname, legalTypes, ltd, errmsgExtra=''):
    if type(arg) not in legalTypes:
        m = _errmsg(argname, ltd, errmsgExtra)
        raise TypeError(m)
Check CSV file before upload
dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/Utils/VerifyType.py/VerifyType--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3db/translate.py/S3TranslateModel.translate_language_onvalidation