def METHOD_NAME(self):
    """Check if analyst assignment is allowed
    """
    if not self.is_manage_allowed():
        return False
    review_state = api.get_workflow_status_of(self.context)
    edit_states = ["open", "to_be_verified"]
    return review_state in edit_states