How to check if an object is a Vector?

