check_match function

Checks if value is matched in vector