What’s the best way to check if an element exists in a vector using the C++ vector find approach?

I want to conditionally handle logic depending on whether the item is present or not.