Java tutorial
//package com.java2s; import java.util.ArrayList; public class Main { public static boolean isCommand(ArrayList<String> textMatchList) { for (String word : textMatchList) { if (word.contains("coach")) return true; } return false; } }