is_whole_number function

Check if a vector has all whole numbers