You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rbac.go
    path of file: ./repos/portainer/api/http/handler/kubernetes
    
    the code of the file until where you have to start completion: package kubernetes

import (
	"net/http"

	httperror "github.com/portainer/portainer/pkg/libhttp/error"
	"github.com/portainer/portainer/pkg/libhttp/response"
)

// @id IsRBACEnabled
// @summary Check if RBAC is enabled
// @description Check if RBAC is enabled in the current Kubernetes cluster.
// @description **Access policy**: admini
    
func (handler *Handler) isRBACEnabled(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
	cli, handlerErr := handler.getProxyKubeClient(r)
	if handlerErr != nil {
		return handlerErr
	}

	isRBACEnabled, err := cli.IsRBACEnabled()
	if err != nil {
		return httperror.InternalServerError("Failed to check RBAC status", err)
	}

	return response.JSON(w, isRBACEnabled)
}