delete the blob from storage

def delete(self, storagemodel:object, modeldefinition = None) -> bool:
        """ delete the blob from storage """
        deleted = False

        blobservice = modeldefinition['blobservice']
        container_name = modeldefinition['container']
        blob_name = storagemodel.name

        try:
            if blobservice.exists(container_name, blob_name):

                """ delete """
                blob = blobservice.delete_blob(container_name, blob_name)
                deleted = True
                 
        except Exception as e:
            msg = 'can not delete blob {} from storage because {!s}'.format(blob_name, e)
            raise AzureStorageWrapException(storagemodel, msg=msg)

        return deleted