def unique(it):
    seen = set()
    ret = []
    for elm in it:
        if elm not in seen:
            ret.append(elm)
            seen.add(elm)
    return ret
This function determines if a given path is actually a valid ROM file.
dataset/ETHPy150Open mikeorr/WebHelpers2/webhelpers2/containers.py/unique--crossover with--dataset/ETHPy150Open scottrice/Ice/ice/consoles.py/path_is_rom