code: def delete_hit(self, hitid):
          ''' Delete HIT '''
          if not self.connect_to_turk():
              return False
          try:
              self.mtc.delete_hit(HITId=hitid)
          except Exception, e:
              print "Failed to delete of HIT %s. Make sure there are no "\
                  "assignments remaining to be reviewed." % hitif delete_hit(self, hitid):
          ''' Delete HIT '''
          if not self.connect_to_turk():
              return False
          try:
              self.mtc.delete_hit(HITId=hitid)
          except Exception, e:
              print "Failed to delete of HIT %s. Make sure there are no "\
                  "assignments remaining to be reviewed." % hitid
docs: Delete HIT