class NightRevelersCondition implements Condition {
@Override
public boolean apply(Game game, Ability source) {
boolean conditionApplies = false;
FilterPermanent filter = new FilterPermanent();
filter.add(new SubtypePredicate("Human"));
Set<UUID> opponents = game.getOpponents(source.getControllerId());
for (UUID opponentId : opponents) {
conditionApplies |= game.getBattlefield().countAll(filter, opponentId, game) > 0;
}