public static boolean isDeleted(final Relationship rel) { if (!inTransaction()) { throw new NotInTransactionException("Not in transaction."); } final ModificationQueue queue = queues.get(); if (queue != null) { return queue.isDeleted(rel); } return false; }