Add faster contains method
Remove unnecessary operations for contains method
Add a proper contains method to SortedDict
Add tests for contains methods