def _is_suggestion_handled(thread_id, exploration_id):
 thread = feedback_models.FeedbackThreadModel.get_by_exp_and_thread_id(exploration_id, thread_id)
 return (thread.status in [feedback_models.STATUS_CHOICES_FIXED, feedback_models.STATUS_CHOICES_IGNORED])

def _is_suggestion_handled ( thread_id , exploration_id ) : thread = feedback_models . FeedbackThreadModel . get_by_exp_and_thread_id ( exploration_id , thread_id ) return ( thread . status in [ feedback_models . STATUS_CHOICES_FIXED , feedback_models . STATUS_CHOICES_IGNORED ] )
checks if the current suggestion has already been accepted/rejected .