def checksum_is_same(local_sum, remote_sum, l):
    """Compare the local and remote checksums."""
    l.info(
        'Comparing local checksum of ' +
        str(local_sum) +
        ' and remote checksum of ' +
        str(remote_sum))
    if local_sum == remote_sum:
        return True
    else:
        return False