Is it possible to use conditional statement(s) based on a hashmap\'s key value pair? For instance if I have a hashmap with {Apple=1} and wanted to return a String if the value i