def filterVariantAnnotation(self, vann):
        # TODO reintroduce feature ID search
        ret = False
        if len(self._effects) != 0 and not vann.transcriptEffects:
            return False
        elif len(self._effects) == 0:
            return True
        for teff in vann.transcriptEffects:
            if self.filterEffect(teff):
                ret = True
        return ret
Returns true when an annotation should be included.
dataset/ETHPy150Open ga4gh/server/ga4gh/backend.py/VariantAnnotationsIntervalIterator.filterVariantAnnotation