def contains(folder, path):
    return False if len(path) >= len(folder) else folder[:len(path)] == path
contains(('a', 'b', 'c'), ('a', 'b')) => True
dataset/ETHPy150Open fabric/fabric/tests/server.py/contains