'Check if a block is existent in the persistence layer.
:param block: the block to check
:return: True if the block exists, else false.'

def contains(self, block):

    return (self.get(block.public_key, block.sequence_number) is not None)
