def startswithpath(pathlist, pathstr):
    for path in pathlist:
        if (os.path.join(pathstr, '')).startswith(path):
            return True
    return False
checks if at least one of the paths in a list of paths starts with a string
dataset/ETHPy150Open FredHutch/swift-commander/swift_commander/swsymlinks.py/startswithpath