code: def approve_worker(self, assignment_id, override_rejection = False):
          ''' Approve worker '''
          if not self.connect_to_turk():
              return False
          try:
              self.mtc.approve_assignment(AssignmentId=assignment_id,
                  OverrideRejection=override_rejection)
              return True
          except Exception as e:
              return Falsf approve_worker(self, assignment_id, override_rejection = False):
          ''' Approve worker '''
          if not self.connect_to_turk():
              return False
          try:
              self.mtc.approve_assignment(AssignmentId=assignment_id,
                  OverrideRejection=override_rejection)
              return True
          except Exception as e:
              return False
docs: Approve worker