Searching with Boolean operations will only tell you if a valueexists or does not exist in a data sequence. Ideally, whensearching, you want to return some value that either refers to thevalue you are looking for or otherwise indicates that the valuedoes not exist. Typically, we define a data sequence with begin andend iterators, where the end iterator is "one past the end" of thesequence, and return an iterator to the value, using the enditerator to denote the value was not found. When searching formultiple occurrences of a value, we typically return a collectionof iterators, with an empty collection indicating no values werefound.