'>>> b = Buffer()
>>> b.add(\'asdf\')
>>> \'x\' in b
False
>>> b.add(\'x\')
>>> \'x\' in b
True'

def __contains__(self, x):

    for b in self.data:
        if (x in b):
            return True
    return False
