Union value valid test