結果 : java code to check if list contains string