#NEWLINE# def can_change_issue_status( self , user ) : #NEWLINE# #INDENT# 'Returns whether the user can change the issue status.\n\n        Currently, this is allowed for:\n        - The user who owns the review request.\n        - The user who opened the issue (posted the comment).\n        ' #NEWLINE# if ( not ( user and user . is_authenticated ( ) ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return ( self . get_review_request ( ) . is_mutable_by ( self ) or ( user == self . get_review ( ) . user ) )