InputPattern[] inputPatterns = action.getInputPatterns();
for (int i = 0; i < inputPatterns.length; i++) {
InputPattern inputPattern = inputPatterns[i];
int numNeeded = numTokensNeeded(inputPattern);
List data = (List) dataSoFar.get(new ChannelID(inputPattern
.getPortname(), 0));
int numHave = (data == null) ? 0 : data.size();
if (numNeeded > numHave) {
return false;