sval: update is_whole_range() to use svals