code: def get_backend():
      
      backend = getattr(settings, 'SIMDITOR_IMAGE_BACKEND', None)
  
      if backend == 'pillow':
          from simditor.image import pillow_backend as backend
      else:
          from simditor.image import dummy_backend as backend
      return backend
docs: Get backend.