old_contents: from subscription.models import UserSubscription
  
  def user_is_donor(user):
      if user.is_authenticated:
          return UserSubscription.objects.filter(user = user, subscription__name = 'AstroBin Donor').count() > 0
      return False
  
  
new_contents: from subscription.models import UserSubscription
  
  def user_is_donor(user):
      if user.is_authenticated():
          return UserSubscription.objects.filter(user = user, subscription__name = 'AstroBin Donor').count() > 0
      return False
  
  
subject: Fix checking whether user is donor.