code: def delete_policy(self, pol_id):
          
          if pol_id not in self.policies:
              LOG.error("Invalid policy %s", pol_id)
              return
          del self.policies[pol_id]
          self.policy_cnt -= 1
docs: Deletes the policy from the local dictionary.