is_vect function

Test for a vector (i.e., atomic vector or list).