code: def remove_identity(cls, sh_db, ident_id):
          
          success = False
          try:
              api.delete_identity(sh_db, ident_id)
              logger.debug("Identity %s deleted", ident_id)
              success = True
          except Exception as e:
              logger.debug("Identity not deleted due to %s", str(e))
  
          return success
docs: Delete an identity from SortingHat.
  
          :param sh_db: SortingHat database
          :param ident_id: identity identifier