public boolean accept(TMConfiguration tmc){
         TMState tms = (TMState) tmc.getCurrentState();
         if (((TuringMachine) tms.getAutomaton()).getParent() != null) return false; //first, we check if this is a top-level state, if it is not, we cannot accept

//         EDebug.print("Hello World");
         
         return Arrays.asList(tms.getAutomaton().getFinalStates()).contains(tms);
    }