Java Selenium Check If Element Is In Dictionary