def is_staff_or_superuser(user):
    """
    Determine if a user is either a staff or super user

    Args:
        user (django.contrib.auth.models.User): A user

    Returns:
        bool: True if user is a superuser or staff
    """
    return user.is_superuser or user.is_staff