def _handle_read_field(api_content, form_value, user, cc_content):
 if (form_value and (not cc_content['read'])):
  user.read(cc_content)
  api_content['unread_comment_count'] = 0

def _handle_read_field ( api_content , form_value , user , cc_content ) : if ( form_value and ( not cc_content [ 'read' ] ) ) : user . read ( cc_content ) api_content [ 'unread_comment_count' ] = 0
marks thread as read for the user .