@API(status = API.Status.STABLE)
    public boolean hasPermission(final @NonNull Permission permission) {
        return this.commandManager.testPermission(this.commandSender, permission).allowed();
    }
Checks whether the sender that executed the command has a permission.

@param permission the permission
@return {@code true} if the {@link #sender()} has the permission, else {@code false}
cloud-core/src/main/java/org/incendo/cloud/context/CommandContext.java