if ((o instanceof Task) && (((Task)o).getVerb().equals(Constants.Verb.SUPPLY))) {  }
  public static UnaryPredicate getInputTaskPredicate() {    return new UnaryPredicate() {            public boolean execute(Object o) {        if ((o instanceof Task) &&            (((Task)o).getVerb().equals(Constants.Verb.SUPPLY)) &&            (((Task)o).getPrepositionalPhrase(GenericPlugin.INTERNAL) == null) &&            (((Task)o).getDirectObject() instanceof Ammunition) &&            (((Task)o).getPrepositionalPhrase("LOW_FIDELITY") == null)) {// BOZO - change this to a const reference later...          return true;        } else {          return false;        }      }    };  }