It's probably overkill... but in the event that a user has a lot of items in their trash (or are attempting to trash
a lot of items... or both...), improve the efficiency of the script by using a binary search to determine whether or not an item with an identical name is already in the trash, or in the batch of items being trashed in an operation.