

def _match_conditions(m):
    if (len(path_prefix_list) > 0):
        for p in path_prefix_list:
            if m.name.startswith(p):
                return True
        return False
    else:
        return True

dataset/ETHPy150Open Littel-Laboratory/homes-dataset-tools/imageKit/extract_photo.py _match_conditions/original