You can use List#contains
method. For that you need to convert your array to a list. You can use Arrays#asList()
method fot that:
String[] bob = { "this", "is", "a", "really", "silly", "list" };
if (Arrays.asList(bob).contains("silly")) {
// true
}