boolean (final UpdatedFiles files) { for (String groupId : ourStoppingGroups) { final FileGroup group = files.getGroupById(groupId); if ((group != null) && (! group.isEmpty())) { return true; } } return false; }