How To Check If Value Exists In Hashmap Java