def is_excluded(root, excludes):
    sep = os.path.sep
    if not root.endswith(sep):
        root += sep
    for exclude in excludes:
        if root.startswith(exclude):
            return True
    return False
Related to #92, this is a Sicap's MMG data_sm receipt
dataset/ETHPy150Open Netflix/security_monkey/generate_docs.py/is_excluded--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/smpp/test/test_operations.py/DeliveryParsingTest.test_is_delivery_mmg_data_sm_92