code: def cleanup(self):
          
          empty_keys = [k for k, v in self.items() if not v]
  
          for k in empty_keys:
              del self[k]
docs: Remove empty keys from this object. Should always be called after the result is final.
          :return: