user.is_authenticated() if Django <2.0) prior to saving a user to a model code example
Example: import login required
from django.contrib.auth.decorators import login_required
from django.contrib.auth.decorators import login_required