check if object is V before doing comparisons