def checkIsListOfStr(l):
    """Make sure that l is a list containing only strings"""
    if not isinstance(l, list):
        raise Exception(str(l) + ' must be a list of strings')
    for i in l:
        if not isinstance(i, str):
            raise Exception(str(i) + ' must be a string')
