Non-confusing contains? function for vectors