<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_filter_by_review_state(self, query, out_params):
 """Applies the filter by review_state to the search query """

        self.add_filter_by_wf_state(query=query, out_params=out_params,
                                    wf_id="bika_analysis_workflow",
                                    index="review_state",
                                    title=_("Status"))