Java Selenium Check If Element Is Array A Word