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

    for bedfile in bedfiles:
        try:
            if len(list(bedfile.fetch(contig, start, end))) == 0:
                return False
        except KeyError:
            return False
        except __HOLE__:
            return False

    return True
dataset/ETHPy150Open CGATOxford/cgat/scripts/beds2beds.py/isContainedInAll