code: def debug_toolbar_callback(request):
      
  
      if request.is_ajax():
          return False
  
      if not hasattr(request, 'user'):
          return False
      if not request.user.is_authenticated:
          return False
      if not request.user.is_staff:
          return False
      if request.user.id == 9999:
          return False
  
      return "debug" in request.GET or settings.DEBUG
docs: Show the debug toolbar to those with the Django staff permission, excluding the Eighth Period
      office.