def _blocks_changed(block1, block2):
    """
    Compare two Block objects

    Args:
        block1: The first block to compare
        block2: The second block to compare

    Returns:
        True if the provided blocks are different, False otherwise
    """
    if block1.name != block2.name:
        return True

    # Check for any changed blocks (symmetric difference operation of sets)
    block_diff = set(block1.to_dict().items()) ^ set(block2.to_dict().items())
    if len(block_diff) > 0:
        return True

    return False