def _checkpoint_is_greater(a, b):
    """Ensure elements of checkpoint 'a' are all greater than or equal to those in
    checkpoint 'b'."""
    return (a.checkpoint >= b.checkpoint and a.checkpoint_time >= b.
        checkpoint_time)
