def _display_paste(request, obj):
    """Returns true if the paste button should be displayed.
    """
    return obj.has_permission(request.user, 'add'
        ) and 'clipboard' in request.session.keys()
