public boolean hasPermissionForAny(Sender sender) {
        return this.mainCommands.values().stream().anyMatch(c -> c.shouldDisplay() && c.isAuthorized(sender));
    }
Root command manager for the '/luckperms' command.
common/src/main/java/me/lucko/luckperms/common/command/CommandManager.java