code: def expire_hit(self, hitid):
          ''' Expire HIT '''
          if not self.connect_to_turk():
              return False
          try:
              self.mtc.update_expiration_for_hit(
                  HITId=hitid,
                  ExpireAt=datetime.datetime.now()
              )
              return True
          except Exception as e:
              print "Failed to expire HIT. Please check the ID and try again."
              print e
              return Falsf expire_hit(self, hitid):
          ''' Expire HIT '''
          if not self.connect_to_turk():
              return False
          try:
              self.mtc.update_expiration_for_hit(
                  HITId=hitid,
                  ExpireAt=datetime.datetime.now()
              )
              return True
          except Exception as e:
              print "Failed to expire HIT. Please check the ID and try again."
              print e
              return False
docs: Expire HIT