Made the SearchBar a dictionary.
Added __contains__. Added some tests.