1 from django.contrib.auth import get_user_model 2 3 4 def cabot_needs_setup(): 5 return not get_user_model().objects.all().exists()