public boolean isAuthorized(Sender sender) {
        return this.permission == null || this.permission.isAuthorized(sender);
    }
Returns true if the sender is authorised to use this command

Commands with children are likely to override this method to check for permissions based upon whether
a sender has access to any sub commands.

@param sender the sender
@return true if the sender has permission to use this command
common/src/main/java/me/lucko/luckperms/common/command/abstraction/Command.java