adding Contains function on StringMap object