check if list of string contains string java