def _is_author_or_privileged(cc_content, context):
 return (context['is_requester_privileged'] or _is_author(cc_content, context))

def _is_author_or_privileged ( cc_content , context ) : return ( context [ 'is_requester_privileged' ] or _is_author ( cc_content , context ) )
return true if the requester authored the given content or is a privileged user .