def METHOD_NAME(self, block_header, weight=0):
    """Finalize a block_header to be claimed.
    Args:
        block_header: The candidate block_header to be finalized.
    Returns:
        Boolean: True if the candidate block should be claimed.
    """
    block_header.consensus = "test_mode:{}".format(weight).encode()
    return True