is_all_distinct function

Check if all values in a vector are distinct