java check if list of strings contains string