def isContainedInOne(contig, start, end, bedfiles):

    for bedfile in bedfiles:
        try:
            if len(list(bedfile.fetch(contig, start, end))) > 0:
                return True
        except __HOLE__:
            pass
        except ValueError:
            pass

    return False
dataset/ETHPy150Open CGATOxford/cgat/scripts/beds2beds.py/isContainedInOne