Added convenient comparison method in ValueUtils