@Override public final boolean isMagicWord(String in){
  return in.matches("^(?i)\\b((" + "start" + "|end"+ "|fail"+ "|exception"+ "|finish"+ "|exit"+ "|begin"+ "|terminat"+ ")(ed)?)"+ "|enable"+ "|enabled"+ "|disable"+ "|disabled"+ "|error"+ "|failure"+ "|stop"+ "|stopped"+ "|root"+ "\\b$");
}

@ Override public final boolean isMagicWord ( String in ) { return in . matches ( "^(?i)\\b((" + "start" + "|end" + "|fail" + "|exception" + "|finish" + "|exit" + "|begin" + "|terminat" + ")(ed)?)" + "|enable" + "|enabled" + "|disable" + "|disabled" + "|error" + "|failure" + "|stop" + "|stopped" + "|root" + "\\b$" ) ; }
determine if the input token is a magic word .
