Add isGranted method to BaseController