code: public boolean isDeleted(String identifier)
     {
  
        ItemState lastState = changesLog.getItemState(identifier);
  
        if (lastState != null && lastState.isDeleted())
        {
           return true;
        }
  
        return false;
     }
docs: Returns true if the item with <code>identifier</code> was deleted in this session. Within a transaction,
  isDelete on an Item may return false (because the item has been saved) even if that Item is not in
  persistent storage (because the transaction has not yet been committed).
  
  @param identifier
  of the item
  @return boolean, true if the item was deleted