def is_staff_user(request):
    """
    Args:
        request (HTTPRequest): django request object

    Returns:
        bool: True if user is staff
    """
    return request.user is not None and request.user.is_staff