testing speed of different aproachs to check if an object is a vector