code: def _delIndex(catalog, index):
      
      if index in catalog.indexes():
          try:
              catalog.delIndex(index)
              logger.info(
                  'Catalog index %s deleted from %s.' % (index, catalog.id))
              return True
          except:
              logger.error(
                  'Catalog index %s error while deleting from %s.'
                  % (index, catalog.id))
      return False
docs: This function desindexes the index element from the catalog.
      :catalog: a catalog object
      :index: an index id as string
      :returns: a boolean as True if the element has been desindexed and it
      returns False otherwise.