def isPresent( self, element ):

        log.debug("Looking for existing element in size-%d lookup table." %
                  len(self.table))

        # Prune the replay table before looking up the given `element'.  This
        # could be done more efficiently, e.g. by pruning every n minutes and
        # only checking the timestamp of this particular element.
        self.prune()

        return (element in self.table)
Check if the given `element' is already present in the lookup table.
dataset/ETHPy150Open isislovecruft/obfsproxy/obfsproxy/transports/scramblesuit/replay.py/Tracker.isPresent