code: def delete_all_for_verify_key(
      self, credentials: SyftVerifyKey, verify_key: SyftVerifyKey
  ) -> Result[bool, str]:
      result = self.get_all_inbox_for_verify_key(
          credentials,
          verify_key=verify_key,
      )
      # If result is an error then return the error
      if result.is_err():
          return result
  
      # get the list of notifications
      notifications = result.ok()
  
      for notification in notifications:
          result = self.delete_by_uid(credentials, uid=notification.id)
          if result.is_err():
              return result
      return Ok(True)
  
imports: from typing import List
  from result import Err
  from result import Ok
  from result import Result
  from ...node.credentials import SyftVerifyKey
  from ...serde.serializable import serializable
  from ...store.document_store import BaseUIDStoreStash
  from ...store.document_store import PartitionKey
  from ...store.document_store import PartitionSettings
  from ...store.document_store import QueryKeys
  from ...store.linked_obj import LinkedObject
  from ...types.datetime import DateTime
  from ...types.uid import UID
  from ...util.telemetry import instrument
  from .notifications import Notification
  from .notifications import NotificationStatus
label_desc: Use image node_id 7 for calling the NotificationStash obj's underlying member method code with example usage: obj.delete_all_for_verify_key(credentials, verify_key) and returns: Ok, result, result