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