Added a template that checks if something is in a vector.