private Action lookupCurrentAction() { Action action = null; if (table.get(percepts, ACTION) != null) { action = table.get(percepts, ACTION); } else { action = NoOpAction.NO_OP; } return action; } }