'Returns the role label for the content author.'

def get_author_label(self, obj):

    if (self._is_anonymous(obj) or (obj['user_id'] is None)):
        return None
    else:
        user_id = int(obj['user_id'])
        return self._get_user_label(user_id)
