code: async def find_deleted(self, seq_set: SequenceSet,
                             selected: SelectedMailbox) -> Sequence[int]:
          
          session_flags = selected.session_flags
          return [msg.uid async for _, msg in self.find(seq_set, selected)
                  if Deleted in msg.get_flags(session_flags)]
docs: Return all the active message UIDs that have the ``\\Deleted`` flag.
  
          Args:
              seq_set: The sequence set of the possible messages.
              selected: The selected mailbox session.