code: def retire(self, did):
          
          try:
              ddo = self.resolve(did)
              metadata_service = ddo.find_service_by_type(ServiceTypes.METADATA)
              self._get_aquarius(metadata_service.endpoints.service).retire_asset_ddo(did)
              return True
          except AquariusGenericError as err:
              logger.error(err)
              return False
docs: Retire this did of Aquarius
  
          :param did: DID, str
          :return: bool