code: def unregister_model(self, storagemodel:object, modeldefinition = None,  delete_blob=False):
          
          
          """ remove from modeldefinitions """
          for i in range(len(self._modeldefinitions)):
              if self._modeldefinitions[i]['modelname'] == modeldefinition['modelname']:
                  del self._modeldefinitions[i]
                  break
  
          """ delete queue from storage if delete_queue == True """        
          if delete_blob:
              self.__delete__(modeldefinition)
  
          log.info('model {} unregistered successfully. Models are {!s}'.format(modeldefinition['modelname'], [model['modelname'] for model in self._modeldefinitions]))      
          pass
docs: clear up an Queueservice for an StorageQueueModel in your  Azure Storage Account
              Will delete the hole Queue if delete_queue Flag is True!
          
              required Parameter is:
              - storagemodel: StorageQueueModel(Object)
  
              Optional Parameter is:
              - delete_queue: bool